Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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.`,
          }],
        };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XWeaponX7/rundida-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server