Skip to main content
Glama

Explain condition

infermedica_explain
Read-only

Explain which evidence supports or conflicts with a given target condition, for the collected evidence. Non-mutating computation. Engine API: POST /explain.

Input Schema

NameRequiredDescriptionDefault
ageYesPatient age, e.g. { value: 30 } or { value: 6, unit: 'month' }.
sexYesPatient biological sex.
extrasNo
targetYesTarget condition id to explain, e.g. 'c_49' (required).
dev_modeNoIf true, mark the request as test traffic → sends the `Dev-Mode: true` header.
evidenceNoList of observed evidence (symptoms / risk factors / lab tests) and their states.
model_idNoOptional medical model id → sent as the `Model-Id` request header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this with 'Non-mutating computation' plus the engine endpoint (POST /explain). It adds minor value but discloses nothing about auth needs, rate limits, or what the computation requires beyond the structured schema.

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 tight sentences that front-load the purpose, followed by a safety note and endpoint. No filler or redundancy; slightly under-developed rather than verbose.

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?

There is no output schema, yet the description never explains what the explanation returns (supporting vs conflicting evidence format, weights, etc.), which matters for an explain tool. Combined with no sibling differentiation, it is adequate but leaves real gaps for a 7-parameter nested tool.

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 description coverage is 86%, so the schema already documents age, sex, evidence, target, dev_mode, and model_id in detail. The description only restates 'target condition' and 'collected evidence' at a high level without adding syntax or format meaning beyond the schema.

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?

States a specific verb (explain) and resource (which evidence supports/conflicts with a target condition), which is clear and actionable. However, it does not distinguish itself from the closely related sibling infermedica_rationale, which likely also explains reasoning around a condition.

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 'for the collected evidence' implies this runs after evidence has been gathered, giving implied usage. But there is no explicit when-to-use/when-not, no prerequisites stated, and the overlapping infermedica_rationale sibling is never mentioned as an alternative.

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.