Skip to main content
Glama

Get profile numbers

get_profile
Read-onlyIdempotent

The athlete's numbers that score training load and set heart-rate and pace zones: max, resting and threshold heart rate, cycling FTP, running threshold pace (seconds per km) and swim threshold (seconds per 100 m). Each comes with where it is from (set by the athlete, from the device, from Apple Health, from the daily readings) and since when. A null value means nothing is on file: sessions that need it get no training load, which is why load or fitness can read as zero. Also the profile fields that shape a plan: gender, birth year, the distance unit Shape shows (km or mi), the weight unit (kg or lb: show weights to the athlete in it, while every weight Shape takes or returns is kg), the day the week starts on, and the pool swims are written for. And connections: the devices connected to the account (Garmin, Wahoo, Apple Health, Polar, Hammerhead, Intervals.icu) with when each was connected, empty when nothing is connected yet; connect_device adds one, and says what signing in again would change. A listed device is connected; its connectedAt is null when it was connected before Shape recorded the date.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
genderYes
numbersYes
birthYearYes
poolLengthYes
weightUnitYes
connectionsYes
startOfWeekYes
distanceUnitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / connections / items / properties / provider / enum
      Previous value: -[
      -  "garmin",
      -  "wahoo",
      -  "apple_health",
      -  "polar",
      -  "hammerhead",
      -  "intervals",
      -  "hevy",
      -  "concept2"
      -]New value: +[
      +  "garmin",
      +  "wahoo",
      +  "apple_health",
      +  "polar",
      +  "hammerhead",
      +  "intervals",
      +  "hevy",
      +  "concept2",
      +  "oura"
      +]
  2. Changed3 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"
    • changedOutput schema / properties / connections / items / properties / provider / enum
      Previous value: -[
      -  "garmin",
      -  "wahoo",
      -  "apple_health",
      -  "polar",
      -  "hammerhead",
      -  "intervals"
      -]New value: +[
      +  "garmin",
      +  "wahoo",
      +  "apple_health",
      +  "polar",
      +  "hammerhead",
      +  "intervals",
      +  "hevy",
      +  "concept2"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / connections / items / properties / provider / enum
      Previous value: -[
      -  "garmin",
      -  "wahoo",
      -  "apple_health",
      -  "polar",
      -  "intervals"
      -]New value: +[
      +  "garmin",
      +  "wahoo",
      +  "apple_health",
      +  "polar",
      +  "hammerhead",
      +  "intervals"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, yet the description adds real semantics: null means nothing on file (and why load/fitness can read zero), each value carries provenance and a since-date, and connection entries have null connectedAt when the date predates tracking. It does not discuss auth or rate limits, keeping it just short of a 5.

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

Conciseness4/5

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

It is a dense three-sentence paragraph that front-loads the core numbers and then moves to plan fields and connections. Nearly every clause carries information (provenance, units, null handling), though the unit conventions and connection nullability are packed into long parentheticals that make it heavier than it needs to be.

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

Completeness5/5

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

For a zero-parameter, read-only tool with an output schema, this is thorough: it explains the meaning of nulls, provenance, unit conventions, and connection state. Even though the output schema already documents return shape, the description supplies the interpretive context an agent needs to use the values correctly.

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 takes zero parameters, so there is no input semantics to explain; the baseline for a no-parameter tool applies. The description instead spends its words on returned-field meaning, which is legitimate but does not map to any input.

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 names the exact resource and enumerates its contents: max/resting/threshold heart rate, cycling FTP, running threshold pace in sec/km, swim threshold in sec/100m, plus plan-shaping fields and device connections. An agent can tell this is the read-side profile tool, distinct from connect_device (which adds a device) and update_profile.

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: it is the place to read zone/load inputs and unit preferences, and it explains that nulls cause zero training load. It mentions connect_device as the way to add a device, but never explicitly says when to call this instead of update_profile or when it is unnecessary.

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