Skip to main content
Glama

Nutricity calculators

calculate_max_heart_rate

Read-onlyIdempotent

Estimate maximum heart rate with the traditional 220-age and Tanaka (208 − 0.7 × age) formulas, plus standard training zones as percentage bands.

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>"
    },
    "name": "calculate_max_heart_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years

Output Schema

NameRequiredDescriptionDefault
zonesYesTraining zones based on Tanaka max HR
maxHeartRate220Yes220 − age
maxHeartRateTanakaYes208 − 0.7 × age

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description goes beyond that by disclosing the actual algorithms being applied, which matters for a calculated metric where formula choice changes the number. It does not discuss the valid age range or how zone bands are derived, leaving modest gaps.

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

Conciseness5/5

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

One sentence, front-loaded with the core verb and resource, then the formulas and the secondary output. Every clause carries information; nothing is padding.

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?

With an output schema present, the description need not enumerate return fields, and it covers the computational method adequately for a single-parameter tool. Only minor gaps remain, such as which formula's result is primary and any population caveats.

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?

There is a single parameter (age) at 100% schema description coverage, so the schema already fully documents it and baseline is 3. The description's mention of age inside both formulas adds a little context about how the input is consumed but no format or constraint guidance beyond the schema.

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

Purpose4/5

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

The description gives a specific verb (estimate), a specific resource (maximum heart rate), and names both the 220-age and Tanaka formulas plus the training-zone percentage bands. That makes the tool's scope unmistakable and clearly distinct from the sibling calculators, though it never explicitly contrasts itself with any of them.

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: this is the tool to call for a max-HR estimate and derived training zones. There is no explicit when-to-use/when-not statement, no note on which formula to prefer for which population (e.g. Tanaka for older adults), and no mention of alternatives.

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