Table of contents

Add secure integrations to your products and AI agents with ease via Merge.
Get a demo

MCP tool descriptions: overview, examples, and best practices

Jon Gitlin
Senior Content Marketing Manager
at Merge

To help agents call the right tools consistently, Model Context Protocol (MCP) servers’ tools need comprehensive descriptions. 

We’ll cover what these descriptions can look like across MCP servers, as well as best practices for writing your own. But first, let’s align on how MCP tool descriptions work. 

MCP tool description overview

An MCP tool description is a concise (1-2 sentence) breakdown of how a particular MCP tool functions. It can also include instructions on how the tool handles operations like authentication, pagination, and filtering, but these details should generally be addressed in the tool’s schema.

How MCP tool descriptions are typically structured
Most MCP tool descriptions are 1 to 2 sentences and are structured around a verb and a resource 

MCP tools are primarily used when an agent receives an input and needs to select the appropriate tool.

For example, if a user asks an agent to create a support ticket for a product bug, the agent can first call <code class="blog_inline-code">list_tools</code> or <code class="blog_inline-code">list_resources</code> to see all of the connected MCP servers’ tools. 

The agent can then read all of the tool descriptions exposed and select the one that most closely matches the action it’s looking to take. In this case, it could be <code class="blog_inline-code">create_ticket</code> for Linear’s MCP server.

Note: In rare cases where a tool description includes operational details like pagination limits or authentication requirements, the agent can use that context to shape its tool call arguments. For example, if the description specifies that the tool can only fetch 10 items per call, the agent may include <code class="blog_inline-code">max_results:10</code> in its arguments.

Related: A guide to using MCP connectors

Examples of MCP tool descriptions 

Here are just a few examples of well-written tool descriptions.

1. Google Drive’s <code class="blog_inline-code">update_drive</code> tool: “Update shared drive settings including name, color, and restrictions.”

This tool description provides just enough context by sharing the specific items that can be updated in a shared drive. 

2. Slack’s <code class="blog_inline-code">create_channel</code> tool: “Create a new channel.”

Most tool descriptions are as simple as this. There’s just a verb (e.g., create) along with a resource from the MCP server (e.g., Slack’s channel resource).

3. Salesforce’s <code class="blog_inline-code">create_contact</code> tool: “Create a new Salesforce contact. Required workflow: Call discover_required_fields('Contact') first to identify mandatory fields and prevent creation errors.”

To help agents invoke this tool at the appropriate point in a workflow, its description explicitly lays out the tool call that needs to precede it and why.

4. Linear’s <code class="blog_inline-code">get_comment</code> tool: “Get a single comment by ID.” 

This tool description specifies that it’ll only provide one comment (if the agent needs several comments, it’d need to call another tool). It also clarifies that it needs the comment’s ID in the arguments before it can fetch it.

5. Gong’s <code class="blog_inline-code">get_calls</code> tool: “List ALL calls in date range - no user/workspace filtering. To filter by user/workspace, use search_calls_extensive instead.”

This tool description explicitly confirms that the agent needs to use a date range in its arguments. It also prevents the agent from invoking this tool if the user needs call recordings from a specific user or workspace (they can use the alternative that’s provided instead). 

Best practices for writing MCP tool descriptions

To help you write tool descriptions, you can follow these best practices. 

Note: If you’re just evaluating MCP servers for your agents, you can use several of these best practices to evaluate the quality of their tools’ descriptions. 

Front load with important information

AI agents may not read the entire tool description, especially if it’s several sentences. With that in mind, include the most important information at the very beginning.

For example, instead of the following for Salesforce’s <code class="blog_inline-code">create_contact</code> tool: “Before using this tool, make sure the user is authenticated with Salesforce. This tool creates a new contact record in Salesforce and returns the contact’s ID.”

You should structure it as, “Create a new Salesforce contact. Requires prior Salesforce authentication.” 

The second part of this description also isn’t required, which leads us to our next best practice.

Related: Best practices for building AI agents

Test tool descriptions through tool call evaluations

To help you determine whether a tool description is optimal or needs to be refined, you can use a solution like Merge Agent Handler to add sample prompts (what you think users might input) that should call a specific tool. You can also specify the MCP server you want to test, the user you’re testing on behalf of, the LLM the agent uses, and more.

You can see if the agent then calls the tool across your test prompts, and if it doesn’t, you can make adjustments to your description and re-test to see if you’ve improved its performance (i.e., improved the tool’s hit rate). 

To help bring this to life, here’s how you can use Merge Agent Handler to test your tool descriptions (and your tools more broadly):

Include tool-calling operations in the schema—not the description

The schema is the best place to include the metadata an agent needs to execute the call correctly, whether that’s authentication requirements, pagination behavior, filtering options, rate limits, and so on.

{{this-blog-only-cta}}

Jon Gitlin
Senior Content Marketing Manager
@Merge

Jon Gitlin is the Managing Editor of Merge's blog. He has several years of experience in the integration and automation space; before Merge, he worked at Workato, an integration platform as a service (iPaaS) solution, where he also managed the company's blog. In his free time he loves to watch soccer matches, go on long runs in parks, and explore local restaurants.

Read more

How AI agents can use APIs successfully

AI

How Merge empowers its engineers to leverage AI effectively

Company

8 best practices for building secure and reliable AI agents

AI

Subscribe to the Merge Blog

Get stories from Merge straight to your inbox

Subscribe

Access thousands of enterprise-grade tools through Merge

Merge Agent Handler offers thousands of tools with best-in-class tool descriptions, ensuring your agents can call the right ones consistently. 

Try Merge for free
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text