Skip to main content
Glama

Npi Registry Search

npi_registry_search
Read-onlyIdempotent

Search providers by any combination of fields. NPI Registry requires at least one filter, supply at least name/organization/taxonomy/postal_code/state.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "John Smith",
      "state": "CA",
      "taxonomy": "Internal Medicine"
    },
    "name": "npi_registry_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
nameNoFull provider name (use along with type)
skipNo0-based offset (max 1000)
limitNo1-200 (default 10)
stateNoTwo-letter state code
numberNo10-digit NPI
npi_typeNoNPI-1 (individual) | NPI-2 (organization)
taxonomyNoTaxonomy code or description (e.g. "Internal Medicine")
last_nameNo
first_nameNo
postal_codeNo5-digit ZIP (or first 3 with wildcard "*")
country_codeNoUS (default) | other ISO country
address_purposeNoLOCATION (default) | MAILING | PRIMARY | SECONDARY
organization_nameNo

Output Schema

NameRequiredDescriptionDefault
ErrorsNoAPI error messages if any
resultsNoArray of provider records matching search criteria
result_countNoTotal number of results matching query

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 the safety profile is fully covered by structured fields. The description adds the upstream API's minimum-filter requirement, which is useful, but says nothing about rate limits, result caps, or pagination depth beyond what the schema already encodes.

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 short sentences, zero padding, with the universal 'any combination' framing first and the hard constraint second. Every clause carries information an agent needs before calling.

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?

Rich annotations plus an output schema mean the description does not need to explain return values. However, for a 14-parameter search tool it omits useful operational detail: how the name/npi_type pairing works, how wildcard postal codes interact with other filters, and how skip/limit behave at the 1000-record ceiling.

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 coverage is 71%, so most parameters are self-documenting. The description contributes a cross-field constraint the schema cannot express (required: 0 params, yet at least one filter is mandatory) and names the five acceptable filter families, though its shorthand 'name'/'organization' maps only loosely to first_name/last_name/organization_name.

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 providers by any combination of fields.' An agent can tell this is a multi-field provider lookup, but the description never distinguishes it from retrieval-oriented siblings such as get_provider, 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 a concrete precondition not obvious from the schema: 'NPI Registry requires at least one filter, supply at least name/organization/taxonomy/postal_code/state.' That is real when-to-use guidance. It stops short of naming alternatives or explaining when a single-NPI lookup (the number parameter, or get_provider) should be preferred over a broad search.

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.