Skip to main content
Glama

Human Body Calculator MCP

Resting Heart Rate (RHR) Classifier

calculate_resting_heart_rate
Read-onlyIdempotent

Classify morning resting heart rate in bpm for bradycardia (<60), optimal/normal (60-100), or elevated/tachycardia (>100) per AHA guidelines. 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": {
      "restingHR": "<restingHR>"
    },
    "name": "calculate_resting_heart_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
restingHRYes

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds valuable domain context—AHA thresholds and a clear 'not medical advice' disclaimer—though it does not explain output formatting or invalid-input handling (the latter is partly in the schema's min/max).

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 sentences, front-loaded with the core classification rule and followed by a concise medical disclaimer. The disclaimer is justified in a health context, though the final sentence is somewhat boilerplate.

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 one-parameter calculator with rich annotations and an output schema, the description covers purpose, thresholds, and safety caveats. It leaves only alternative-tool routing unstated, which is a minor gap given the tool's simplicity.

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?

With one parameter and 0% schema description coverage, the description compensates by specifying units ('bpm') and the measurement condition ('morning resting'). It does not restate the 20–220 range or the exact parameter name, but the meaning is clear from the sentence.

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 ('Classify') and resource ('morning resting heart rate in bpm'), and defines the exact category thresholds. An agent can immediately tell this is an RHR classifier, not a target-HR or other health calculator.

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?

The phrase 'morning resting heart rate' implies the measurement context, but the description never states when to choose this over siblings like calculate_target_heart_rate or when it is inappropriate. No explicit when-not or alternative routing is provided.

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