Skip to main content
Glama
willc121

Garmin Health MCP Server

by willc121

get_health_summary

Retrieve a comprehensive overview of your Garmin health metrics including VO2 max, activities, sleep data, and race predictions to monitor fitness progress.

Instructions

Get an overview of all health data including VO2 max, activities, sleep, and race predictions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary handler function for the 'get_health_summary' tool, aggregating data from VO2 max, activities, sleep, race predictions, and heart rate zones.
    async function getHealthSummary() {
      const [vo2, activities, sleep, races, zones] = await Promise.all([
        getVO2Max(),
        getActivities(),
        getSleep(),
        getRacePredictions(),
        getHeartRateZones(),
      ]);
    
      return {
        vo2_max: {
          current: vo2.summary.latest?.vo2_max_value ?? null,
          peak: vo2.summary.max,
          readings: vo2.summary.count,
        },
        activities: {
          total: activities.total_activities,
          top_activity: activities.breakdown[0]?.activity_type ?? null,
          date_range: activities.date_range,
        },
        sleep: {
          nights_tracked: sleep.total_nights,
          average_hours: sleep.average_duration_hours,
        },
        race_predictions: races.predictions,
        max_hr: (zones as any).max_hr || null,
      };
    }
  • Schema definition for the tool in the ListTools response, including name, description, and empty input schema.
    {
      name: "get_health_summary",
      description:
        "Get an overview of all health data including VO2 max, activities, sleep, and race predictions",
      inputSchema: { type: "object", properties: {} },
    },
  • src/index.ts:405-406 (registration)
    Tool registration in the switch statement of the CallToolRequestSchema handler, dispatching calls to the getHealthSummary function.
    case "get_health_summary":
      result = await getHealthSummary();
Behavior2/5

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

No annotations are provided, so the description carries full burden. It describes what data is included but lacks behavioral details such as data freshness, rate limits, authentication requirements, or error handling. For a read operation with zero annotation coverage, this is a significant gap in transparency.

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?

The description is a single, efficient sentence that front-loads the core purpose ('Get an overview of all health data') and lists specific data types without waste. Every word contributes to understanding the tool's scope, making it appropriately sized and well-structured.

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 tool's complexity (aggregating multiple data types) and lack of annotations/output schema, the description is minimally adequate. It covers what data is included but misses details like response format, data granularity, or how it differs from combining sibling tools. For a read-only tool with no structured metadata, it should provide more context.

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?

The tool has 0 parameters with 100% schema description coverage, so no parameter documentation is needed. The description appropriately adds no parameter details, focusing on the tool's purpose instead. Baseline is 4 for zero parameters, as it avoids unnecessary repetition.

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?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('overview of all health data'), listing key data types (VO2 max, activities, sleep, race predictions). It distinguishes from siblings by aggregating multiple data types, unlike single-focus tools like get_vo2max or get_sleep, though it doesn't explicitly contrast them.

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

Usage Guidelines3/5

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

The description implies usage for a comprehensive health summary, suggesting it's an alternative to calling multiple sibling tools individually. However, it lacks explicit guidance on when to use this vs. specific tools (e.g., if only sleep data is needed) or any prerequisites/exclusions, leaving usage context somewhat inferred.

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/willc121/garmin-mcp-server'

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