Skip to main content
Glama

Npi Organization

npi_organization
Read-onlyIdempotent

"Find a hospital / clinic by name" / "look up NPI for [organization]" / "what's [Mayo Clinic]'s NPI" / "verify a healthcare facility", search the NPPES NPI registry for organizational providers (~1.8M entries), hospitals, clinics, group practices. Same shape as npi_individual. terms can be org name, NPI, or city.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "count": 3,
      "terms": "mayo clinic"
    },
    "name": "npi_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
dfNoComma-separated display fields to use in the `displays` array. Default varies per table; usually the canonical name.
efNoComma-separated extra fields to include per match. Known fields: name.full,addr_practice.full,licenses.taxonomy.classification.
countNoMaximum matches to return. Default 7, max 500. Use 1-3 for typeahead UX, 20-50 for browsing.
termsYesSearch query, prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: "mayo clinic".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / count / description
      Previous value: -"Maximum matches to return. Default 7, max 500. Use 1–3 for typeahead UX, 20–50 for browsing."New value: +"Maximum matches to return. Default 7, max 500. Use 1-3 for typeahead UX, 20-50 for browsing."
    • changedInput schema / properties / terms / description
      Previous value: -"Search query — prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"mayo clinic\"."New value: +"Search query, prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"mayo clinic\"."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "count": 3,
      +    "terms": "mayo clinic"
      +  }
      +]
  3. Changed7 schema fields changed
    • addedInput schema / properties / count / default
      Added value: +7
    • addedInput schema / properties / count / description
      Added value: +"Maximum matches to return. Default 7, max 500. Use 1–3 for typeahead UX, 20–50 for browsing."
    • addedInput schema / properties / count / maximum
      Added value: +500
    • addedInput schema / properties / count / minimum
      Added value: +1
    • addedInput schema / properties / df / description
      Added value: +"Comma-separated display fields to use in the `displays` array. Default varies per table; usually the canonical name."
    • addedInput schema / properties / ef / description
      Added value: +"Comma-separated extra fields to include per match. Known fields: name.full,addr_practice.full,licenses.taxonomy.classification."
    • addedInput schema / properties / terms / description
      Added value: +"Search query — prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"mayo clinic\"."
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuine context by naming the authoritative data source (NPPES) and its scale (~1.8M entries), but says nothing about result ordering, return format, or behavior for ambiguous or overly broad queries.

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 dense, quoted-query format is front-loaded and useful for intent matching, and every clause carries information. The slash-separated quote fragments make it readable but slightly harder to scan than plain prose; minor pruning of redundant phrasings would help.

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?

For a four-parameter, read-only lookup with full schema documentation and no output schema, the description covers domain, data source, scope, and sibling relationship adequately. The main remaining gap is any statement of what a match record contains or how results are ordered, which an agent may want before calling.

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

Parameters4/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, but the description adds meaning beyond the schema: it states 'terms' accepts an org name, an NPI, or a city, whereas the schema only mentions prefix/contains matching against canonical names. That materially expands the agent's understanding of what to pass for the required parameter.

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 states a specific verb and resource (search the NPPES NPI registry for organizational providers), quantifies scope (~1.8M entries), and enumerates the entity types covered (hospitals, clinics, group practices). It also explicitly distinguishes itself from the sibling npi_individual by noting it is the organizational counterpart.

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?

Quoted user phrasings ('find a hospital/clinic by name', 'what's Mayo Clinic's NPI', 'verify a healthcare facility') map directly to invocation triggers, giving a clear sense of when to reach for this tool. The 'Same shape as npi_individual' note implicitly routes people-lookups elsewhere, but there is no explicit exclusion statement telling the agent to use npi_individual for individuals.

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.