Skip to main content
Glama

api_medical_mean_arterial_pressure

Read-onlyIdempotent

Calculate mean arterial pressure from systolic and diastolic mmHg and pulse pressure. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "systolic_mmhg": "<systolic_mmhg>",
      "diastolic_mmhg": "<diastolic_mmhg>"
    },
    "name": "api_medical_mean_arterial_pressure"
  }
}

Input Schema

NameRequiredDescriptionDefault
systolic_mmhgYessystolic mmhg; see operation description for units and format
diastolic_mmhgYesdiastolic mmhg; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuinely non-obvious context beyond that: a per-call cost of 0.01 USDC on Base via x402 and the X-Provider-Key header for customer-owned credentials. It does not describe the return value, but the payment and auth disclosures are substantive additions.

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?

Two sentences, front-loaded with the core calculation and followed by the payment/credential note. Nothing is padded, though the 'pulse pressure' clause is a small piece of noise that costs more confusion than it earns.

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?

For a two-parameter, read-only calculation tool with full annotation coverage, this is close to sufficient — cost and auth are covered and units are stated. However, with no output schema, the description gives no hint of the return value or formula variant (e.g., MAP = DBP + (SBP−DBP)/3), and the unexplained 'pulse pressure' reference leaves a small ambiguity about required inputs.

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 100%, so the two parameters are already documented, giving a baseline of 3. The description confirms the mmHg unit, but it also introduces 'pulse pressure,' which is not a parameter and could make an agent wonder whether a third input is expected. The schema descriptions themselves are circular ('see operation description for units and format'), so no extra clarity is delivered.

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 names a specific verb and resource — calculating mean arterial pressure from systolic and diastolic mmHg — which is unambiguous and clearly distinct from sibling calculators like api_medical_bsa or api_medical_anion_gap. It does not explicitly name or contrast a sibling, but the medical-calculation scope is narrow enough that no confusion arises. The stray mention of 'pulse pressure' slightly muddies the stated inputs.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no comparison to any of the many sibling medical tools. The agent must infer that this is the right tool purely from the calculation name. The second sentence addresses payment/auth mechanics, not usage selection.

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