Skip to main content
Glama
Black-Swan-Causal-Labs

com.blackswancausallabs/openfda-mcp

Official

validate_device_application

Validate a medical device number and retrieve its class, specialty, and category in a single call, resolving from number to product code to classification.

Instructions

Validate a device number and derive class, specialty and category in one call.

Chains lookup_device_submission -> classify_device_product_code, which is the full three-hop resolution: number -> product_code -> classification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesDevice number with prefix (K/DEN/P/H). Case-insensitive.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden of behavioral transparency. It discloses the chaining behavior and the resolution sequence, but it does not mention error handling, expected behavior for invalid device numbers, or any side effects. For a simple read-only validation/classification tool, this is adequate but not comprehensive.

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?

The description is two sentences. The first sentence clearly states the action and outputs; the second concisely explains the chaining and resolution path. No redundant text or fluff.

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?

Given a single required parameter, an output schema, and straightforward chaining logic, the description is largely complete. It clearly states the input (device number) and the derivation path. However, it omits details about edge cases (e.g., what happens if the device number is invalid) and does not explicitly mention that this is a convenience wrapper, but those are not strictly necessary for invoking the tool correctly.

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?

The schema provides full documentation for the only parameter 'number' (including prefix types and case-insensitivity). The description adds no additional semantics beyond referring to 'device number' generally. With 100% schema coverage, the baseline of 3 is appropriate.

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 clearly states the tool's purpose: validating a device number and deriving class, specialty, and category in one call. It explicitly names the chained steps (lookup_device_submission -> classify_device_product_code) and the resolution path (number -> product_code -> classification), which distinguishes it from the sibling tools that perform only individual steps.

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?

The description indicates when to use this tool: when the full three-hop resolution is needed in one call. It names the underlying components and the overall resolution path, implying that the individual sibling tools are alternatives for partial steps. However, it does not explicitly state when not to use this tool (e.g., if only the product_code is needed), so it falls just short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Black-Swan-Causal-Labs/openfda-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server