Skip to main content
Glama

search_patients

Read-onlyIdempotent

Find patients by partial name and/or exact birth date, then return each match's ID, name, gender, and birth date for clinical record lookup.

Instructions

Find patients by (part of) their name and/or exact birth date (YYYY-MM-DD). Returns id, name, gender and birth date for each match.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_patients"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
birth_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds the return field set (id, name, gender, birth date), which is useful, but says nothing about result limits, pagination, or what happens with an empty result set.

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?

Two compact sentences, with the search criteria front-loaded and the return shape appended. Nothing is redundant or padding.

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 a two-parameter read tool with no output schema, the description covers matching semantics, date format, and return fields, which is nearly everything an agent needs. Minor gaps remain around empty inputs and result-count behavior.

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 0%, so the description must carry the load, and it does: 'part of their name' clarifies substring matching and 'exact birth date (YYYY-MM-DD)' fixes the date format. It doesn't address the empty-string defaults or whether the two filters are ANDed, so it is strong but not complete.

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 gives a specific verb and resource ('Find patients') plus the exact matching criteria (partial name and/or exact birth date), which is enough to distinguish it from a by-id sibling like get_patient. It stops short of naming that alternative explicitly, so sibling differentiation is inferred rather than stated.

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?

'and/or' usefully implies both parameters are optional and combinable, giving implicit guidance on how to call it. However, there is no explicit statement of when to use this versus get_patient, nor any note about empty-string defaults producing unfiltered results.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.