Skip to main content
Glama

TrailGenic

Compute trail-derived biological age

tg.longevity.bioAge.compute
Read-onlyIdempotent

Deterministic compute tool (not a dataset read). Estimates trail-derived biological age from one hike: VO2max from grade-adjusted effort versus heart-rate reserve, age-graded against population reference curves, then pooled with resting heart rate and optional overnight HRV. Hiking modality only; low-intensity Zone 1 efforts are flagged as unreliable. Invoked via tools/call; it has no REST dataset route, so its endpoint is the /mcp transport.

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": {
      "age": "<age>",
      "resting_hr": "<resting_hr>",
      "distance_mi": "<distance_mi>",
      "elevation_gain_ft": "<elevation_gain_ft>",
      "moving_time_min": "<moving_time_min>",
      "avg_hr": "<avg_hr>"
    },
    "name": "tg.longevity.bioAge.compute"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesChronological age in years.
avg_hrYesAverage heart rate over the hike (bpm).
fastedNoWhether the hike was fasted (TrailGenic protocol flag; contextual, does not change the estimate).
max_hrNoKnown max heart rate (bpm). Optional; a Tanaka estimate is used if omitted.
resting_hrYesResting heart rate (bpm).
distance_miYesHike distance (miles).
overnight_hrvNoOvernight heart-rate variability (ms). Optional; tightens the autonomic side of the estimate.
moving_time_minYesMoving time (minutes).
elevation_gain_ftYesTotal elevation gain (feet).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description is free to add real behavioral context, and it does: deterministic output, the exact computation chain (VO2max from grade-adjusted effort vs. heart-rate reserve, age-graded against population reference curves, pooled with resting HR and optional HRV), and a reliability caveat for Zone 1 efforts. The transport note is extra operational context an agent needs to actually reach the tool.

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?

Three dense sentences, front-loaded with the compute-vs-dataset distinction that matters most for tool selection. The methodology clause is packed but each element carries information; only the transport sentence sits slightly apart from the rest.

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?

For a 9-parameter compute tool with no output schema, the description covers inputs, method, scope and reliability, which is most of what an agent needs. The gap is the return shape — it never states what fields come back (a bio-age value, a reliability flag, the VO2max estimate) or how failure/missing-HRV cases are represented.

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 100%, so the baseline is 3; the description earns above that by explaining how parameters relate rather than just naming them — resting heart rate is pooled in, overnight HRV 'tightens the autonomic side', and effort is normalized against heart-rate reserve. It does not restate units or ranges, which the schema already handles.

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 gives a specific verb and resource ('Estimates trail-derived biological age from one hike') and immediately distinguishes itself from the many sibling .get tools by declaring 'Deterministic compute tool (not a dataset read).' An agent can separate this from tg.conditioning.* or tg.physiology.* reads 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?

It states the scope constraint clearly ('Hiking modality only') and the exclusion condition ('low-intensity Zone 1 efforts are flagged as unreliable'), plus the transport routing ('no REST dataset route, so its endpoint is the /mcp transport'). What is missing is naming a concrete alternative when the input is not a hike, but the 'not a dataset read' framing does steer the agent away from the sibling .get family.

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