Skip to main content
Glama

Connect health source

connect_source

Connect a wearable, ring, CGM, training platform, gym log, Apple Health, or Health Connect. Returns an interactive source picker plus a complete text fallback. OAuth approval and credentials always happen on freddy or the provider, never inside chat. When a health question triggered this tool, pass original_question so the card can restore it after the first sync.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "provider": "<provider>"
    },
    "name": "connect_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesProvider slug of the source to connect (uppercase enum, e.g. 'GARMIN'; lowercase + dashes like 'intervals-icu' also accepted). OAuth sources return an authorization URL to open; API-key and phone sources return instructions to finish on the freddy dashboard or app. An unknown slug returns the full list of connectable sources.
original_questionNoWhen this connection interrupted a health-data question, pass the user's exact original question so the private connection card can restore it after first sync. Omit for a standalone connect request. This field deliberately has no schema maximum: questions over 2,000 characters are ignored so an oversized question never blocks the connection itself. The question is never written to analytics or logs.

Output Schema

NameRequiredDescriptionDefault
actionNo
providersYes
connectionYes
sourceLimitYes
resumeAvailableYes
selectedProviderYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, open-world, non-destructive), and the description adds genuinely useful behavior: returns an interactive picker plus a text fallback, and OAuth approval/credentials always occur on freddy or the provider, never in chat. That last point is important operational guidance that prevents the agent from soliciting credentials. It does not address the already-connected case or what a failed auth looks like.

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?

Four short sentences, front-loaded with what the tool connects, then return shape, then the credential/safety constraint, then the one parameter caveat. Nothing is redundant and no sentence is filler.

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

Completeness4/5

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

Output schema exists, so return values need only light coverage, which the description provides. Given a two-parameter integration tool, the remaining gap is state handling (already connected, pending OAuth) that the sibling connection_status exists for but is never referenced.

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?

Schema coverage is 100%, so the schema already explains both parameters in detail, including the uppercase/lowercase slug acceptance and the unknown-slug behavior. The description echoes the original_question restoration purpose without adding syntax or format detail beyond the schema, so baseline 3 applies.

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?

States a specific verb ('Connect') plus an enumerated resource scope (wearable, ring, CGM, training platform, gym log, Apple Health, Health Connect). The verb alone separates it from siblings named disconnect_source, sync_source, and connection_status, so an agent can route without opening a schema.

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?

Usage is implied rather than stated: the tool is for establishing a new connection, and one conditional instruction ('When a health question triggered this tool, pass original_question') is given. It never says what to do if the source is already connected, whether to check connection_status first, or when to prefer sync_source instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources