Skip to main content
Glama

InjuryMgmt WPI Calculator

Calculate medical whole-person impairment

calculate_medical_wpi
Read-onlyIdempotent

Use clinician-confirmed AMA Guides Fifth Edition inputs for a single injury. Supports spine DRE and active mobile shoulder, elbow/forearm, and wrist range of motion. For spine DRE, enter the category and whole-number WPI already selected by the clinician. For joint motion, enter side and all listed angles in degrees. Use the clinician’s selected valid measurements. Return informational medical WPI, status and source references for clinician review. Accepts only de-identified structured findings. For other methods, use the InjuryMgmt web calculator.

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": {
      "clinicianConfirmed": "<clinicianConfirmed>"
    },
    "name": "calculate_medical_wpi"
  }
}

Input Schema

NameRequiredDescriptionDefault
elbowRomNo
spineDreNo
wristRomNo
shoulderRomNo
clinicianConfirmedYesExplicit confirmation that a clinician selected the DRE ratings and/or verified the active ROM findings for this injury. Ask before calling if confirmation is missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the description does not need to restate safety. It adds real context beyond them: the return payload (informational WPI, status, source references for clinician review) and a hard prerequisite that clinician confirmation must exist before calling. It stops short of describing how multiple regions/limbs are aggregated in the result.

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?

Front-loaded with purpose and supported methods, with method-specific instructions following in logical order; every sentence carries procedural content. It is dense and slightly repetitive around 'clinician-confirmed', which keeps it just short of exemplary.

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 five-parameter tool with heavy nested arrays and no output schema, the description covers inputs, prerequisite confirmation, data-handling constraint, and return contents. Remaining ambiguity is about multi-region/multi-limb combination behavior and mutual exclusivity of the method blocks.

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 only 20%, so the description has to carry meaning, and it does: spine DRE takes the clinician-selected category plus whole-number WPI; joint motion takes side plus all listed angles in degrees; values must be clinician-selected active measurements. It does not clarify array semantics (e.g., whether two entries mean bilateral sides) or the extensionLag convention, leaving some gaps.

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 and resource ('Calculate medical whole-person impairment'), scopes it to AMA Guides Fifth Edition inputs for a single injury, and enumerates the supported methods (spine DRE, shoulder/elbow-forearm/wrist active ROM). The reader knows exactly what the tool computes 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 Guidelines5/5

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

Gives explicit when-to-use conditions (clinician-confirmed inputs, single injury), per-method entry instructions, and a named exclusion – other methods should use the InjuryMgmt web calculator. It also constrains input to de-identified findings, which is a usage rule an agent could otherwise get wrong.

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.