Skip to main content
Glama

Human Body Calculator MCP

Pain Level Assessment (NRS-11) Calculator

calculate_pain_level
Read-onlyIdempotent

Categorize Numeric Rating Scale pain intensity (0-10) into None, Mild (1-3), Moderate (4-6), Severe (7-9), or Worst Possible (10). 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": {
      "pain_score": "<pain_score>"
    },
    "name": "calculate_pain_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
pain_scoreYes

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 the category mapping and the non-clinical disclaimer, but says nothing about how out-of-range or fractional scores are treated or how the estimate is framed.

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?

Two short sentences: the functional mapping is front-loaded and the disclaimer follows. No redundancy and nothing that fails to earn its place.

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, return values need no explanation, and the description covers input semantics plus the non-medical-advice framing. Only minor edge-case handling (fractional or boundary values) is left unstated.

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 description coverage is 0%, so the description carries the burden — and it does explain that pain_score is an NRS 0-10 intensity value and that 10 means "Worst Possible." It does not clarify whether decimals are accepted or how they round, which the bare schema leaves open (type number with min/max only).

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 ("Categorize") applied to a specific resource ("Numeric Rating Scale pain intensity (0-10)") and enumerates the exact output buckets with their numeric boundaries. An agent knows precisely what the tool produces 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by the mapping table and the scope disclaimer ("Informational estimate only — not medical advice... Consult a qualified healthcare professional"), but there is no explicit statement of when to choose this over a sibling calculator or what inputs are out of scope beyond the 0-10 range.

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