Skip to main content
Glama

health-gorilla

Start Patient360 query

healthgorilla_start_patient360_query
Destructive

Initiates an asynchronous national-network records retrieval (CommonWell / Carequality / QHINs) that imports external documents into your tenant. FHIR: GET /DocumentReference/$p360-retrieve?patient={id} with header 'Prefer: respond-async'. Returns the RequestResult poll URL (Location header); poll it with healthgorilla_poll_query_status. State-changing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patient_idYesPatient resource id to retrieve external records for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true; the description adds substantial context beyond that: it is asynchronous, imports documents into the caller's tenant, is state-changing, requires a Prefer: respond-async header, and returns a Location poll URL. It does not describe rate limits, cost, or how much data gets imported, so it stops short of a 5.

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 tightly packed sentences, front-loaded with the operation and scope, then the technical mechanism, then the poll handoff. Every clause carries information; nothing is filler.

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 an async, no-output-schema tool, the description covers the trigger, the mechanism, the return (poll URL) and the next step, which is what an agent needs. It could still say what document types or time range are retrieved, but the essentials are present.

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% and the single patient_id parameter is fully documented in the schema, so the schema already carries the burden. The description only restates the id as {id} in the FHIR path, adding no syntax or semantic detail. Baseline 3 applies.

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 (initiates) plus the exact resource and scope: an asynchronous national-network records retrieval across CommonWell/Carequality/QHINs that imports external documents. This is unmistakably distinct from siblings like healthgorilla_get_patient or healthgorilla_fhir_search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicitly names the follow-up tool (healthgorilla_poll_query_status) and the poll URL to use, which tells the agent the workflow. It does not, however, state when to prefer this over alternatives like get_patient_everything, so the exclusion guidance is absent.

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.