Skip to content

Standardize tool calls across LLMs #289

@msanatan

Description

@msanatan

Currently we use comments to indicate what a tool has. A more concise and precise way to let FastMCP know what our tools can do is to follow their guide: https://gofastmcp.com/servers/tools#parameter-metadata

Particularly:

  • Add a description of the tool in the @mcp.tool() decorator
  • Use the annotated type to add descriptions of each parameter
  • Optionally, use Pydantic to validate the data we're accepting

This should address #273 and generally make our server much more compatible with MCP clients (it's definitely more compatible with Windsurf and VS Code using this format), and potentially more succinct space wise.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions