Skip to main content
Glama

getnpidata

Look up an NPI

lookup_npi
Read-onlyIdempotent

Everything getnpidata has on one NPI: name, specialties (NUCC taxonomy) with license numbers, practice locations and phones, other names, its organization, Medicare and Medicaid facts, quality signals and recent changes. Says so when the NPI is deactivated, unknown or mistyped.

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": {
      "npi": "<npi>"
    },
    "name": "lookup_npi"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYesThe 10-digit NPI.
includeHistoryNoAlso include the record's history (older NPPES versions, Medicare and Medicaid by year, industry payments by year). Large.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: it reports deactivated, unknown and mistyped NPIs explicitly rather than failing silently, and flags that history is 'Large' — useful for a caller reasoning about payload cost.

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?

Two sentences, front-loaded with the resource and scope, and the data-domain list is packed rather than padded. The long enumeration is dense but each item helps an agent judge whether the response answers its question.

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?

With no output schema, the description carries the return-shape burden and discharges it by enumerating the content domains. Error/degraded cases (deactivated, unknown, mistyped) are also covered, which is what an agent most needs to interpret an unusual result.

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 coverage is 100%, so both parameters are fully documented in the schema including the 'Large' warning on includeHistory. The description adds no syntax, format, or default detail beyond that; it only mentions 'recent changes' as returned data without tying it to the history toggle. 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?

States a specific verb and resource ('Everything getnpidata has on one NPI') and enumerates the payload domains it returns: taxonomy/specialties with licenses, locations and phones, aliases, organization, Medicare/Medicaid, quality signals, recent changes. The 'one NPI' framing implicitly separates it from search-style siblings, but no sibling is named to make the distinction explicit.

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 only implied: an agent infers it should call this when it already holds an NPI, and that lookup-by-identifier rather than searching is the trigger. There is no explicit statement of when not to use it or which sibling (search_providers, verify_npis, check_licenses_and_exclusions) covers adjacent needs.

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