Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

lookup_practice_by_npi

Read-onlyIdempotent

Retrieve a US healthcare practice organization's details, including authorized official, phones, taxonomy, ownership type, and lead score, by its 10-digit NPI.

Instructions

Look up a specific US healthcare practice organization by its 10-digit National Provider Identifier (NPI) from CMS NPPES v2.1 and return normalized Authorized Official, phones, taxonomy, ownership type, and lead score.

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_practice_by_npi"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYes10-digit US National Provider Identifier (e.g., "1043458821").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description still adds real value by naming the upstream source and version (CMS NPPES v2.1) and by disclosing that the returned fields are normalized and include derived data (ownership type, lead score), which the annotations do not convey. It does not cover not-found or invalid-NPI behavior, keeping it short of a 5.

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?

One front-loaded sentence that identifies the resource, the key, the data source, and the payload in that order. No filler, no repetition of the title, and nothing that could be cut 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?

There is no output schema, so the description carries the burden of describing returns and does so by enumerating Authorized Official, phones, taxonomy, ownership type, and lead score. For a single-parameter, single-record lookup that is close to sufficient; the only gap is behavior when the NPI is unknown or malformed, which matters given additionalProperties=false and a required string key.

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% and the single `npi` property already states '10-digit US National Provider Identifier' with an example value. The description restates the same 10-digit constraint without adding format, validation, or normalization semantics beyond the schema, so the baseline 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 gives a specific verb ('Look up'), a precisely scoped resource ('a specific US healthcare practice organization'), and the exact key ('10-digit National Provider Identifier'). The emphasis on 'a specific ... by its NPI' makes it distinguishable from the sibling search_healthcare_practice_owners, which is a discovery-oriented tool rather than an exact-identifier lookup.

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 can infer that it needs an NPI in hand and that this is the exact-match path rather than a search. There is no explicit when-to-use/when-not-to-use statement, no named alternative for when the NPI is unknown, and no note about falling back to search_healthcare_practice_owners.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.