Skip to main content
Glama

Molecule Lineage

Assess NDC cohort question fit

diagnose_ndc_cohort
Read-onlyIdempotent

Assess question fit and benchmark availability for up to 12 de-identified NDCs in the edition served (NADAC match, VA FSS only, active FDA shortage, ambiguous 10-digit NDC). Needs a commercial access key.

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": {
      "ndcs": "<ndcs>"
    },
    "name": "diagnose_ndc_cohort"
  }
}

Input Schema

NameRequiredDescriptionDefault
ndcsYes
profileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new context beyond them: a commercial access key is required, the batch is capped at 12 NDCs, results are scoped to 'the edition served', and it names the specific flag categories returned. It still doesn't say what a failed auth or ambiguous NDC does to the response.

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 tight sentences, with the core action and scope front-loaded and the prerequisite appended. The parenthetical flag list is dense but information-bearing; nothing is redundant padding.

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

Completeness3/5

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

For a read-only two-parameter diagnostic tool with no output schema, the description does a fair job by naming the flag categories it reports. The significant remaining gap is the undocumented 'profile' enum, which materially affects results and is absent from both schema and description.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden. It partially clarifies 'ndcs' (de-identified, up to 12), but the 'profile' parameter with its opaque enum values 'strict_federal@1' and 'amplified_discovery@1' is never mentioned at all — an agent cannot infer what those modes change without guessing.

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 names a specific verb ('Assess') and a concrete resource ('question fit and benchmark availability for ... NDCs'), and enumerates the flag categories it evaluates (NADAC match, VA FSS only, active FDA shortage, ambiguous 10-digit NDC). That makes it distinguishable from resolve_ndc or get_price_benchmark, though it never explicitly contrasts itself with those siblings.

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?

Implicitly positions itself as a pre-flight check ('assess question fit') before benchmark work and states the access prerequisite ('Needs a commercial access key'), which is useful context. However, there is no explicit statement of when to use this versus get_price_benchmark or find_drug, and no exclusion conditions.

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.