Skip to main content
Glama

CMS NPI Provider Registry MCP

Search healthcare providers by ZIP code

search_providers_by_zip
Read-onlyIdempotent

List CMS NPPES individual providers and organizations located in a US ZIP code or ZIP prefix, optionally filtered by specialty.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "postal_code": "<postal_code>"
    },
    "name": "search_providers_by_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 15, max 50).
specialtyNoOptional specialty or taxonomy description filter.
postal_codeYesUS ZIP code or prefix with * (e.g. "20817" or "100*").
enumeration_typeNoFilter to NPI-1 (individual) or NPI-2 (organization).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the operation read-only, idempotent, open-world, and non-destructive, so the safety profile is covered. The description adds useful scope by identifying the CMS NPPES source and including both individual and organization providers, but it does not describe result ordering, pagination/truncation behavior, or return shape beyond the schema's limit.

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?

The definition is a single front-loaded sentence with no redundant wording. It efficiently states the resource, geographic scope, and optional specialty filter.

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?

For a simple read-only search, the description plus annotations and a fully documented schema are enough to invoke it correctly. However, because there is no output schema, the description could say more about what the result list contains or how results are ordered and capped, so it is adequate rather than complete.

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 100%, so all four parameters — including ZIP prefix syntax, limit default/max, and the NPI-1/NPI-2 enum — are already documented. The description reinforces specialty filtering and the individual/organization scope but adds little parameter-level meaning beyond what the schema provides.

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: 'List CMS NPPES individual providers and organizations' with a clear ZIP code or ZIP prefix scope and optional specialty filter. It is distinguishable from the name/specialty siblings by the ZIP criterion, though it does not explicitly name those alternatives.

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 description implies the right use case — a location-based provider search by ZIP or ZIP prefix — and notes that specialty is optional. However, it gives no explicit when-not-to-use guidance or directs the agent to alternatives such as search_providers_by_name, search_providers_by_specialty, or lookup_npi_number.

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.