Skip to main content
Glama

get_tool

Retrieve detailed information, frequently asked questions, and related tools for a specific running calculator by providing its slug.

Instructions

Get detailed information about a specific running tool including FAQs and related tools

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTool slug, e.g. "pace-calculator", "heart-rate-zones"

Implementation Reference

  • The 'get_tool' tool handler: accepts a slug parameter, fetches tool details from the RunDida API, and returns formatted text with description, URL, category, related tools, and FAQs.
    // Tool: get_tool
    server.tool(
      'get_tool',
      'Get detailed information about a specific running tool including FAQs and related tools',
      { slug: z.string().describe('Tool slug, e.g. "pace-calculator", "heart-rate-zones"') },
      async ({ slug }) => {
        const data = await fetchJSON(`${BASE_URL}/api/tools/${slug}.json`);
        const t = data.tool;
        let text = `## ${t.title}\n\n${t.description}\n\nURL: ${t.url}\nCategory: ${t.category}\n`;
        if (t.relatedTools.length) text += `\nRelated tools: ${t.relatedTools.join(', ')}`;
        if (t.faqs.length) {
          text += '\n\n### FAQs\n';
          t.faqs.forEach(f => { text += `\n**Q: ${f.question}**\nA: ${f.answer}\n`; });
        }
        return { content: [{ type: 'text', text }] };
      }
    );
  • index.js:134-136 (registration)
    Registration of the 'get_tool' tool via server.tool() with the name 'get_tool'.
    // Tool: get_tool
    server.tool(
      'get_tool',
  • The input schema for the 'get_tool' tool: a single required 'slug' field (z.string) with a description.
    { slug: z.string().describe('Tool slug, e.g. "pace-calculator", "heart-rate-zones"') },
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions 'detailed information' but does not specify what is included beyond FAQs and related tools. No mention of side effects, authentication, or data freshness.

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?

Single sentence that front-loads the key action and resource. No extraneous words. Efficiently communicates the essential purpose.

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?

Given the simple parameter set and no output schema, the description provides adequate context for basic usage. However, it omits details about the return structure or potential errors, which would be helpful.

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

Parameters3/5

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

Input schema has 100% coverage for the single parameter 'slug' with a clear description and example. The tool description does not add extra semantic value beyond the schema, so baseline of 3 is appropriate.

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

Purpose4/5

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

Description clearly states it retrieves detailed information about a specific running tool, including FAQs and related tools. The verb 'Get' and resource are explicit, but it does not explicitly differentiate from sibling tools like get_guide or list_tools.

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. Implies it is for obtaining detailed info, but does not mention when list_tools or other get tools are more appropriate.

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