Skip to main content
Glama

npi-providers-mcp-server

Npi Get Provider

npi_get_provider
Read-onlyIdempotent

Fetch the complete NPPES record for one or more NPI numbers (up to 10 per call). Decodes an NPI from a claim, prescription, or another health data source into a fully populated provider profile: every taxonomy with its primary flag, license number and state; all practice and mailing addresses; credential, sex, sole-proprietor flag; enumeration and last-updated dates; active/deactivated status; secondary identifiers (Medicaid, etc.); and FHIR/Direct endpoints. The 10-digit NPI format is validated before any API call. Reports partial success: well-formed NPIs with no registry record (deactivated or never enumerated) land in notFound, while NPIs whose lookup hit an upstream error (registry unavailable, timeout) land in errored — kept distinct from confirmed misses — rather than failing the whole call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
npisYesA single 10-digit NPI, or an array of up to 10. Each is validated as exactly 10 digits before any API call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoFully decoded records for NPIs that resolved.
noticeNoGuidance when some or all NPIs returned nothing.
erroredNoNPIs whose lookups failed with an upstream/transport error (service unavailable, timeout) — distinct from a confirmed miss in notFound. These are unresolved, not absent; retry them.
notFoundNoNPIs that were well-formed but returned no record (deactivated or never enumerated). A confirmed absence, not a failure.
totalCountNoNumber of provider records that resolved from the requested NPIs.

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent), the description discloses valuable behavioral details: 'The 10-digit NPI format is validated before any API call' and 'Reports partial success... well-formed NPIs with no registry record land in notFound, while NPIs whose lookup hit an upstream error land in errored — kept distinct from confirmed misses.' This adds error-handling context not present in the annotations, with no contradictions.

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?

The description is detailed but well-structured: it leads with the core purpose, then lists the returned data, and concludes with validation and error behavior. Each sentence serves a purpose, though the enumeration of output fields could be considered redundant if the output schema already documents them. It is appropriately front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a single parameter, full schema coverage, and annotations covering read-only/open-world/idempotent, the description is remarkably complete. It explains what it does, when to use it, how it validates input, and how it handles partial success—covering all operational aspects an agent needs. The output schema exists, so field-level details are not missing.

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?

The input schema has 100% coverage for the single parameter: it describes the type (string or array), pattern (10 digits), and maxItems (10). The description repeats these facts ('up to 10 per call', 'validated before any API call') without adding new meaning. Since schema coverage is complete, the baseline of 3 applies.

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?

The description clearly states the tool fetches the complete NPPES record for one or more NPIs (up to 10 per call), listing specific output fields like taxonomy, addresses, and credential. It differentiates itself from siblings by focusing on complete records by NPI, though it does not explicitly name alternatives.

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?

The description provides clear context: 'Decodes an NPI from a claim, prescription, or another health data source' tells the agent when to use this tool—when you have an NPI and want a full provider profile. However, it does not explicitly state when not to use it or mention sibling tools (npi_lookup_taxonomy, npi_search_providers) as alternatives, so it lacks exclusions.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a distinct purpose: retrieving full records by NPI, browsing taxonomy codes, and searching providers. No overlap or ambiguity between them.

Naming Consistency5/5

All tools follow the same pattern: 'npi_' prefix + verb_noun (get_provider, lookup_taxonomy, search_providers). Perfectly consistent naming.

Tool Count5/5

Three tools cover the essential operations for an NPI/provider lookup service without unnecessary bloat. The count feels lean and purposeful.

Completeness5/5

The server provides a complete read-only workflow: search providers, resolve taxonomy terms, and fetch full records. No missing CRUD operations are expected for this domain, and all necessary dependencies are present.