Skip to main content
Glama

get_lactate_threshold

Read-only

Lactate threshold: the latest values (default), or history over a date range when latest is false. 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

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

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld, so the description's value is in the extras it adds: the divergent return shapes, the underlying 2-GET vs 3-GET behavior, and the throw condition when startDate is missing. That is real behavioral context beyond the annotations.

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?

Front-loads the default behavior, then the two-branch distinction, then the return shapes. Dense but every clause (defaults, throw condition, GET counts) carries information. Slightly terse in phrasing but no wasted sentences.

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?

No output schema exists, yet the description details the exact return keys for both branches and the error case. Only minor gaps remain, such as endDate defaults and what aggregation actually changes in the output.

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 only 50% (latest and aggregation are undocumented in the schema), and the description compensates by giving the latest default, the aggregation='daily' default, and startDate's conditional requirement. This meaningfully fills the schema gap.

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+resource ('Lactate threshold: the latest values') and immediately distinguishes the two operating modes. An agent knows exactly what it fetches without opening the schema.

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?

Explicitly explains when each branch applies: latest=true is the default; latest=false returns history over a date range and requires startDate, otherwise it throws. No sibling alternatives are named, but the tool has no close sibling, so this is clear enough.

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.