> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ti.trilogy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Best Practices

> Guidelines for creating effective MCP Hives

# Best Practices for Hive Creators

<iframe width="560" height="315" src="https://www.youtube.com/embed/m9F6ts2YUas" title="Hive Studio Overview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

This video provides an overview of the Hive Studio, where you'll build and manage your hives. Watching this introduction will help you get familiar with the interface and core workflows.

## Tool Design

### Clear Descriptions

* Ensure tool descriptions are crisp and clear
* Anyone should be able to understand the purpose of the tool and when to use it
* Use Studio's AI assist feature to improve descriptions for each tool

<img src="https://mintcdn.com/codenation/Wli7uFsddR_4K-oz/images/v3.0.0/ai-tool-assistant.png?fit=max&auto=format&n=Wli7uFsddR_4K-oz&q=85&s=475f587ece12f365ebdd90f4dece0857" alt="AI Tool Assistant" width="1296" height="870" data-path="images/v3.0.0/ai-tool-assistant.png" />

### Simplified Parameters

* Keep input parameters simple without unnecessary nesting
* Remove redundant or unused parameters
* Use Studio to simplify parameter schemas with one click
* Iteratively refine parameters based on testing feedback

### Transformation Scripts

* If you've simplified the input schema, carefully review transformation scripts
* Ensure simplified inputs correctly convert to the original format expected by your API service
* Test transformations with various input types to verify correct behavior

<img src="https://mintcdn.com/codenation/Wli7uFsddR_4K-oz/images/v3.0.0/hive-studio-interface.png?fit=max&auto=format&n=Wli7uFsddR_4K-oz&q=85&s=8f16ca427c1435b5fdc2c2101741d668" alt="Hive Studio Interface" width="2628" height="1508" data-path="images/v3.0.0/hive-studio-interface.png" />

## Authentication

We support these standard authentication systems:

* OAuth2
* API Key
* Bearer Token
* HTTP Basic

**Recommendation:** Test your authentication flow with [Swagger Editor](https://editor.swagger.io/) before onboarding to our platform. If it works there, it should work with Hive as well.

<Note>
  Need support for other authentication methods? Contact us on [GChat](https://chat.google.com/room/AAAA-1lU1zM?cls=7) or mail us at [mandal.ashish@trilogy.com](mailto:mandal.ashish@trilogy.com).
</Note>

## Testing

* Test each tool thoroughly before deploying
* Save test cases so you can rerun them in the future with a few clicks

<img src="https://mintcdn.com/codenation/Wli7uFsddR_4K-oz/images/v3.0.0/test-case-management.png?fit=max&auto=format&n=Wli7uFsddR_4K-oz&q=85&s=3d1a247ad79cb4ef23b897cea1182d70" alt="Test Case" width="2572" height="622" data-path="images/v3.0.0/test-case-management.png" />

## Hive Documentation

Our system generates:

* Hive descriptions
* Summaries of data models

Ensure these accurately represent your hive:

* Edit manually or use AI assist to refine
* Make sure descriptions capture the purpose of your hive
* Verify data model summaries are accurate and helpful
