Skip to main content
Glama

Look up an NPI

doctor_npi_lookup
Read-onlyIdempotent

Return the NPI registry record for one 10-digit National Provider Identifier: names, credentials, taxonomy, practice and mailing addresses, status.

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": "doctor_npi_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYesThe 10-digit NPI.
languageNoLanguage for labels and notices (default en).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 covered. The description adds a useful enumeration of the returned data, which matters since there is no output schema, but it says nothing about missing/invalid NPI behavior, rate limits, or external registry availability.

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?

A single sentence with zero filler; the resource is front-loaded and the returned fields follow immediately. Nothing is repeated unnecessarily and nothing could be removed without losing information.

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?

This is a simple two-parameter read tool with full schema coverage and complete annotations, so requirements are low. Listing the returned fields compensates for the absent output schema; only the sibling routing and error behavior are thin.

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%, with the npi pattern and the language enum already documented in the schema, so the baseline is 3. The description restates the 10-digit constraint but adds no meaning for the language parameter or for what happens when an NPI is unregistered.

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?

The description gives a specific verb (return) and resource (NPI registry record) and enumerates the data returned: names, credentials, taxonomy, addresses, status. It is clearly a single-record exact-identifier lookup, but it never names or contrasts with its sibling doctor_search, so the distinction must be inferred.

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 'for one 10-digit National Provider Identifier' — call this when you already have the exact NPI. There is no explicit statement about when to prefer doctor_search, no note that this requires an exact identifier, and no guidance on prerequisites or failure modes.

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