Skip to main content
Glama

list_tools

List all running calculators and tools available on RunDida, covering marathon events, pace/time/distance calculations, race predictions, and heart rate training zones.

Instructions

List all available running calculators and tools on RunDida

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • index.js:117-132 (registration)
    Registration of the 'list_tools' MCP tool via server.tool(), also containing the inline handler logic.
    // Tool: list_tools
    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.`,
          }],
        };
      }
    );
  • Handler function that fetches tools data from the API, formats a list, and returns a text response.
    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.`,
        }],
      };
    }
  • Schema (empty object) indicating 'list_tools' takes no input parameters.
    {},
  • Helper function used by list_tools to fetch data from the RunDida API with caching.
    async function fetchJSON(url) {
      const cached = cache.get(url);
      if (cached && Date.now() - cached.ts < CACHE_TTL) return cached.data;
    
      const res = await fetch(url);
      if (!res.ok) throw new Error(`HTTP ${res.status}: ${url}`);
      const data = await res.json();
      cache.set(url, { data, ts: Date.now() });
      return data;
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so description must disclose behavior. It implies a read-only listing operation but gives no details on permissions, caching, or response structure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with no wasted words. Efficiently communicates the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a parameterless tool, but lacks details on what the list contains (e.g., names only or full descriptions). Minimum viable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so baseline is 4. Description adds no parameter info, which is acceptable as schema coverage is 100%.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists all available calculators and tools on RunDida. It distinguishes from sibling tools like list_guides and list_marathons which are specific subsets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like list_guides or get_tool. No when-not or context provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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