list_tools
Discover available calculators and tools for marathon training, pace calculations, race predictions, and heart rate zones within the RunDida MCP server.
Instructions
List all available running calculators and tools on RunDida
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:118-132 (handler)Implementation of the 'list_tools' MCP tool, which fetches available tools from an external API and formats them for the user.
server.tool( 'list_tools', 'List all available running calculators and tools on RunDida', {}, async () => { const data = await fetchJSON(`${BASE_URL}/api/tools.json`); const list = data.tools.map(t => `- ${t.title} (${t.slug}): ${t.description}`).join('\n'); return { content: [{ type: 'text', text: `RunDida has ${data.meta.total} running tools:\n\n${list}\n\nUse get_tool with a slug to see full details.`, }], }; } );