Skip to main content
Glama

Canvas Medical MCP by usefulapi

Search a FHIR resource

canvas_search
Read-only

Search any supported FHIR R4 resource in the chart. Pick resource, then narrow with the standard FHIR search parameters. Nearly every clinical question starts here: Condition or Observation for a problem list and results, MedicationRequest for prescriptions, Appointment or Encounter for visits, DocumentReference for notes. Canvas: GET /{resource}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_idNoFetch by resource id through search.
dateNoFHIR date filter, e.g. "ge2026-08-01" or "lt2026-09-01". Prefixes: eq, ne, gt, lt, ge, le.
nameNoName search, for Patient and Practitioner.
_sortNoSort field, e.g. -date for newest first.
_countNoPage size, 1-100.
statusNoFHIR status filter, e.g. active, completed, cancelled.
_offsetNoOffset for paging through results.
patientNoRestrict to one patient, by Patient id. The usual first filter.
resourceYesWhich FHIR resource type to search.
identifierNoSearch by business identifier, e.g. an MRN.

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.7/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, and the trailing 'Canvas: GET /{resource}' reinforces that this is a read. The description adds useful context about supported resource types but says nothing about result shape, paging defaults, or caps beyond what the schema documents. Adequate but not rich against a lowered annotation bar.

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 the core action, then sequencing guidance ('Pick resource, then narrow'), then clinical examples. Dense and purposeful, though the run of examples is long enough that it could be trimmed without loss.

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?

With no output schema, the description carries the burden of describing what comes back, and it never mentions that results are a FHIR Bundle or that paging via _count/_offset applies. For a 10-param search tool spanning 35 resource types, that return-shape gap is the main omission.

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 100%, so the baseline is 3; the description earns above baseline by mapping enum values to clinical meaning (Condition/Observation -> problem list and results, MedicationRequest -> prescriptions, Appointment/Encounter -> visits) and framing the non-resource params as 'standard FHIR search parameters' to be used for narrowing.

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 ('Search any supported FHIR R4 resource in the chart') and scopes the universe of resource types. It does not explicitly contrast itself with siblings like canvas_get_patient_everything (bulk patient fetch) or canvas_read (single-resource read), so sibling differentiation is left to inference.

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?

Gives concrete when-to-use guidance ('Nearly every clinical question starts here') and maps clinical intents to resource types (Condition/Observation for problem list, MedicationRequest for prescriptions). It stops short of naming alternatives or when-not-to-use conditions, which keeps it out of the top band.

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.