Skip to main content
Glama

Pin a chart to the telo home

pin_card

Put a live chart on the user's telo iPhone home. Only when the user asks to pin, save, show or keep something on telo. The card keeps updating with each sync. Styles: trend (line), stat (number and change), bars. Sleep is pinnable too, in hours per night: sleep_asleep (time asleep), sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake; nights without watch stages have no deep, core or REM value. sleep_heart_rate is the average heart rate during each night, in bpm, apart from resting_heart_rate and heart_rate. Optional: compare_with draws a second metric on the same window; baseline=personal draws the user's usual range; display=pace_km turns running_speed into min/km, display=km shows a distance_* metric in kilometers; goal only when the user stated one; color only when the user asks (cards default to a color per metric category); size=half puts two consecutive half cards side by side (a number and a small trend, details on tap); change_from=usual or year_ago changes what the change line compares with. Always pass the user's question in their words; it is shown on the card.

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": {
      "metric": "<metric>",
      "question": "<question>"
    },
    "name": "pin_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
sizeNohalf: two consecutive half cards share a row, as a number and a small trend line. Default full
colorNoOnly when the user asks for a color. Omit to use telo's default for the metric's category
styleNotrend: line chart; stat: number and change; bars: per-day or per-week barstrend
titleNo
metricYesExact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn. Sleep, in hours per night: sleep_asleep, sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake; average heart rate while asleep, per night: sleep_heart_rate
windowNo30d
displayNopace_km: only for running_speed or walking_speed, min:sec per km instead of m/s. km: only for distance_* metrics, kilometers instead of meters
baselineNoDraw the person's usual range: mean ± 1 SD of the 60 days before the last week
positionNotop
questionYesThe user's question or request that led to this card, in their words
change_fromNoWhat the card's change line compares today's value with. window_start (default): the first point of the window; usual: the user's own 60-day average ending a week ago; year_ago: the 14 days around the same date last year
compare_withNoA second metric drawn on the same window, each on its own scale

Output Schema

NameRequiredDescriptionDefault
cardYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / display / description
      Previous value: -"Only for running_speed or walking_speed: show min:sec per km instead of m/s"New value: +"pace_km: only for running_speed or walking_speed, min:sec per km instead of m/s. km: only for distance_* metrics, kilometers instead of meters"
    • changedInput schema / properties / display / enum
      Previous value: -[
      -  "pace_km"
      -]New value: +[
      +  "pace_km",
      +  "km"
      +]
    • changedInput schema / properties / goal / properties / value / description
      Previous value: -"Target in the card's displayed unit. For display=pace_km, seconds per km (5:00/km = 300)."New value: +"Target in the card's displayed unit. For display=pace_km, seconds per km (5:00/km = 300); for display=km, kilometers."
    • changedInput schema / properties / metric / description
      Previous value: -"Exact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn. Sleep, in hours per night: sleep_asleep, sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake"New value: +"Exact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn. Sleep, in hours per night: sleep_asleep, sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake; average heart rate while asleep, per night: sleep_heart_rate"
  2. Changed1 schema field changed
    • changedInput schema / properties / metric / description
      Previous value: -"Exact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn"New value: +"Exact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn. Sleep, in hours per night: sleep_asleep, sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare a non-readonly, non-destructive, non-idempotent mutation, and the description adds real behavior beyond that: the card 'keeps updating with each sync', defaults to a category color, and the user's question is rendered on the card. It doesn't say what happens on repeat pinning (duplicate vs replace), which is the main residual gap for a non-idempotent mutation.

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

Conciseness3/5

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

Purpose and the gating rule are correctly front-loaded, but much of the middle restates what the schema already declares (style names, display values, size=half, change_from options), turning it into a dense single block. Trimming the schema-duplicated enum glosses would sharpen it without losing information.

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?

The metric-domain guidance (sleep family, units, display conversions) is unusually complete for a 13-parameter tool, and an output schema means return values needn't be explained. However, the 31% of schema description coverage gap and the absent guidance on re-pinning an already-pinned metric leave the definition slightly short of what an agent needs for a mutating tool.

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?

Schema coverage is 69%, and the description adds genuine meaning beyond it: compare_with draws a second metric on its own scale, baseline=personal is the usual range, display=pace_km converts running_speed to min/km, and sleep metrics carry constraints ('nights without watch stages have no deep, core or REM value'). It leaves title, position and window unaddressed, but those are self-evident or schema-documented.

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 and resource ('Put a live chart on the user's telo iPhone home') and its live-updating nature distinguishes it from sibling pinnables like pin_countdown and pin_note without needing to name them.

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

Usage Guidelines4/5

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

Explicit when-to-use gate: 'Only when the user asks to pin, save, show or keep something on telo,' plus per-parameter gating ('goal only when the user stated one', 'color only when the user asks'). It stops short of naming an alternative tool such as edit_card for modifying an existing card, so not a full 5.

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