Skip to main content
Glama

get_lactate_threshold

Read-only

Retrieve lactate threshold speed, heart rate, and power from Garmin Connect. Choose latest readings or date-range daily, weekly, monthly, or yearly aggregates.

Instructions

defaults latest=true, aggregation="daily". TWO DIFFERENT branches: latest=true returns {speed_and_heart_rate, power} from two GETs; latest=false (requires startDate, throws otherwise) returns {speed, heart_rate, power} from three GETs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latestNo
endDateNoCalendar date, YYYY-MM-DD (UTC)
startDateNoCalendar date, YYYY-MM-DD (UTC)
aggregationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful behavior: two distinct execution paths, the number of underlying GETs, the differing return shapes, and a thrown error when startDate is missing. That is beyond what annotations provide, though there is no mention of auth scopes or rate limits.

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

Conciseness2/5

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

It is short but front-loads parameter defaults before stating the tool's function, and it is written in a dense pseudo-code register (`{speed_and_heart_rate, power}`) with backtick syntax that reads more like implementation notes than agent-facing guidance.

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?

With no output schema, the description carries the burden of describing returns, and it does specify the two response shapes — a real contribution. But it omits what the fields actually mean, units, and which branch is appropriate when, so an agent can call the tool but not confidenty interpret it.

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 50%; startDate and endDate carry format descriptions but `latest` and `aggregation` have none. The description compensates partially by documenting that latest switches branches and requires startDate when false, but it never explains aggregation's enum values or how endDate interacts with the range mode. Baseline 3.

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

Purpose2/5

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

The description never says what the tool retrieves in plain terms — it only specifies default parameters and the JSON shapes returned by two branches. An agent must infer from the name that this fetches lactate threshold data. It does describe the two response modes, but the core verb+resource statement is absent.

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?

It does state the key branch condition: `latest=false` requires `startDate` and throws otherwise. That is useful invocation guidance. However, it never says when an agent should choose this tool over date-range alternatives like get_max_metrics_range or get_cycling_ftp, and no when-not guidance is provided.

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

Deploy Server

Other Tools