Guidelines for naming MCP tools, describing parameters, and documenting tools in a language- and framework-agnostic manner
97
Pending
Does it follow best practices?
Impact
97%
1.02xAverage score across 5 eval scenarios
Pending
The risk profile of this skill
WeatherWise Inc. is building an MCP server to provide weather data to AI assistants. They need a set of tools that allow agents to access current weather conditions, forecasts, historical data, and weather alerts. The tools should be intuitive for AI agents to discover and use, with clear naming that indicates their purpose.
The company has a REST API with these endpoints:
GET /current?location={city}&units={metric|imperial} - current weatherGET /forecast?location={city}&days={1-7}&units={metric|imperial} - multi-day forecastGET /history?location={city}&date={YYYY-MM-DD}&units={metric|imperial} - historical weatherGET /alerts?location={city}&severity={low|medium|high} - weather alertsPOST /subscribe?location={city}&email={email} - subscribe to alertsThey want to expose these as MCP tools that agents can call directly. The tools should work well together and be easy for agents to understand based on their names alone.
Design the MCP tool definitions for this weather API. Create a JSON file weather_tools.json containing an array of tool definitions. Each tool definition should include:
name - The tool namedescription - Brief description of what the tool doesparameters - Array of parameter definitions (name, type, description, required, etc.)returns - What the tool returnsFocus on creating intuitive, well-organized tool names that follow consistent patterns. The tools should be discoverable and predictable for AI agents.
Create at least 5 tools covering the main API endpoints. Ensure the tool names make sense together as a family of related weather tools.