Skip to main content
Glama

US National Provider Identifier records from the CMS NPPES

gov_npi_registry
Read-only

US National Provider Identifier (NPI) records from the CMS NPPES NPI Registry, searched by last name and 2-letter state: NPI number, name, credential, primary taxonomy, practice city and state, and last update date. Individual providers (NPI-1) only. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "lastName": "<lastName>",
      "state": "<state>"
    },
    "name": "gov_npi_registry"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRecords to return, 1 to 20 (default 5)
stateYes2-letter US state code, e.g. CA
lastNameYesProvider last name, 2 to 40 letters

Output Schema

NameRequiredDescriptionDefault
queryNo
sourceNo
checkedAtNo
providersNo
resultCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered, and the description adds genuinely non-derivable behavior: a per-call price of $0.002, the x402 payment mechanism (USDC on Base, Solana and 10+ networks), and the important billing nuance that failed calls are not charged. That payment prerequisite is exactly the kind of pre-invocation fact an agent cannot get from annotations or schema.

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?

Three compact sentences with the resource and search keys front-loaded and pricing/auth placed last, so an agent gets the essentials first. The enumeration of returned fields (NPI number, name, credential, taxonomy, city/state, update date) is slightly wasteful given an output schema exists, but it is not disruptive.

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 annotations covering the read/open-world profile and a full output schema, the description only needs to add payment mechanics and scope — which it does. The remaining gap is search-match semantics (exact vs. partial last-name matching and pagination behavior beyond the limit parameter), which the agent must infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the schema already documents limit ranges, state format, and last-name constraints. The description adds the composite-search semantic — that last name and state are used together and results are restricted to NPI-1 records — which is meaning beyond the individual parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the specific resource (CMS NPPES NPI Registry), the exact search keys (last name + 2-letter state), and the scope restriction (NPI-1 individuals only). This cleanly distinguishes it from the sibling government registries such as gov_npm_registry or business-registry tools without the agent opening any schema.

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 clear operating context: both lastName and state are required for a search, and only individual providers (NPI-1) are covered, which implicitly excludes organizational NPI-2 lookups and tells the agent when this tool will return nothing. It stops short of naming an alternative tool for organizational or name-only lookups.

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.

Resources