Skip to content

Add example prompts to tool descriptions for better LLM tool selection #7

@0xtus

Description

@0xtus

Description

Improve tool descriptions with example prompts that help LLMs understand when to use each tool. MCP supports rich tool descriptions that guide the AI's tool selection.

Why

When an LLM has 32 tools available, the description is the primary signal for choosing the right tool. Better descriptions = better tool selection = better user experience.

Examples

Current:

"Check the USDC and ETH balance of your smart account."

Proposed:

"Check the USDC and ETH balance of your smart account. Use this when the user asks about their funds, balance, or how much they have available. Example: 'How much USDC do I have?', 'Check my balance', 'Do I have enough to pay for this service?'"

Scope

Update descriptions for all 32 tools in src/tools/. Focus on:

  • When to use this tool vs similar tools
  • Example user prompts that should trigger this tool
  • What the tool returns

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions