All recipes

Agent building recipe

Design an MCP tool an agent can use

Design an MCP tool with a clear purpose, useful inputs, and predictable errors.

Step 1. Install the skill

Run this in your terminal. Select your agent and installation scope when prompted.

npx skills add latestaiagents/agent-skills --skill mcp-tool-design

Requires Node.js and npm. CLI documentation

Step 2. Start with this prompt

Open your project in your agent and add any task-specific context.

Help me design an MCP tool for this project. Inspect the existing integration and identify one useful action. Propose the tool name, description, input schema, output shape, and error behavior. Include examples of when the agent should and should not call it, then suggest a small test plan. Check the current MCP documentation before writing implementation code.

More recipes

Code review

Review a diff before you open the PR

Debugging

Find the root cause of a failure