Skip to main content
Glama

Compute triage

infermedica_triage
Read-only

Recommend a triage level (emergency_ambulance | emergency | consultation_24 | consultation | self_care) plus any serious/emergency observations, given the evidence. Non-mutating computation. Engine API: POST /triage.

Input Schema

NameRequiredDescriptionDefault
ageYesPatient age, e.g. { value: 30 } or { value: 6, unit: 'month' }.
sexYesPatient biological sex.
extrasNo
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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description usefully adds that this is a non-mutating POST operation, which prevents an agent from mistaking POST /triage for a write. It also names the returned triage levels and observations, though it omits auth, error, or rate-limit behavior.

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?

Three concise sentences, front-loaded with the main action and output categories, then the non-mutating clarification and API endpoint. No sentence is wasted.

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 no output schema, the description appropriately names the return categories: triage level and serious/emergency observations. The nested input schema covers parameter details, but the description could do slightly more to explain required inputs or evidence expectations.

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 high at 83%, so the baseline is 3. The description only mentions 'given the evidence' and does not add syntax or format guidance beyond what the schema already provides for sex, age, evidence, extras, dev_mode, and model_id.

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 and resource: recommend a triage level, with the full set of possible triage outputs enumerated. This clearly separates it from diagnosis or explanation siblings by output type, though it does not explicitly name an alternative tool.

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 'given the evidence' implies the tool should be used after evidence is collected, and 'Non-mutating computation' clarifies the operation type. However, there are no explicit when-to-use/when-not-to-use rules and no named alternatives such as infermedica_diagnosis.

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.