Skip to main content
Glama

CMS NPI Provider Registry MCP

Search healthcare organizations (NPI-2)

search_organizations
Read-onlyIdempotent

Search CMS NPPES healthcare organizations (hospitals, clinics, pharmacies, labs, billing groups) by organization name.

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": {
      "organization_name": "<organization_name>"
    },
    "name": "search_organizations"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name.
limitNoMax results to return (default 15, max 50).
stateNo2-letter US state code.
specialtyNoOptional taxonomy description filter.
postal_codeNoZIP code or prefix with *.
organization_nameYesOrganization name (supports trailing * wildcard, e.g. "Mayo Clinic*").

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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds the data source (CMS NPPES) and the entity granularity (NPI-2), but says nothing about result shape, whether wildcards change matching behavior, or how large result sets are handled.

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?

A single front-loaded sentence with no filler, and the key qualifier ('by organization name') lands at the end where it matters. It is efficient but bordering on too terse for a six-parameter search tool.

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 a fully documented schema, no output schema, and a straightforward read-only search, the description gives enough to invoke it correctly. The remaining shortfall is that it never characterizes the returned records or the optional city/state/specialty narrowing as a combined-filter capability.

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 every parameter (including the trailing '*' wildcard on organization_name and the limit default/max) is already documented. The description only reinforces which field is the primary lookup key, adding minimal meaning beyond the schema; baseline 3 applies.

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?

Specific verb ('Search') plus a scoped resource (CMS NPPES healthcare organizations) with concrete examples of entity types, and the primary lookup key ('by organization name'). The 'NPI-2' / 'organizations' framing implicitly distinguishes it from the provider-level siblings, though it never states that distinction outright.

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?

Usage is implied by 'by organization name' and the entity examples, which tell an agent this is for organization-level lookups rather than individual practitioners. There is no explicit when-to-use/when-not guidance and no routing to the provider-focused siblings such as search_providers_by_name.

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.