Skip to main content
Glama

Human Body Calculator MCP

Target Heart Rate Zone (Karvonen & Tanaka) Calculator

calculate_target_heart_rate
Read-onlyIdempotent

Calculate aerobic target heart rate zones in bpm using Tanaka Max HR (208 - 0.7 * age) and the Karvonen heart rate reserve formula. Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.
intensityNo
restingHRYes

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing the underlying computation (Tanaka 208 - 0.7 * age, Karvonen HRR), letting the agent know what model is applied. It does not describe zone boundaries or how results are returned.

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?

The computational statement is front-loaded in the first sentence, and the medical disclaimer follows. Three sentences with little waste, though the disclaimer occupies roughly half the text and could be tightened without losing its protective effect.

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?

An output schema exists, so return values need not be explained, and the formulas give the agent enough to trust the computation. However, with three parameters and one-third schema coverage, the unexplained 'intensity' input is a real gap for a calculator whose zones depend on 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 only 33% (only 'age' is documented), so the description must compensate. It partially does: 'age' is tied to the Tanaka formula and 'restingHR' to the Karvonen heart-rate-reserve formula, but the 'intensity' parameter (50-100) is never mentioned and its role is left entirely unexplained.

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 plus resource ('Calculate aerobic target heart rate zones in bpm') and names the exact formulas (Tanaka Max HR, Karvonen reserve), which makes it clearly distinct in substance from siblings like calculate_resting_heart_rate. It stops short of explicitly contrasting itself with those siblings.

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?

There is no guidance on when to use this tool versus alternatives, no stated prerequisites, and no exclusions. The 'not medical advice' disclaimer is a liability constraint rather than usage guidance, so the agent must infer context from the name alone.

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