Skip to main content
Glama

RegDataLab – FDA Compliance Data

Device UDI lookup

fda_device_udi_lookup
Read-onlyIdempotent

Read a device UDI record by identifier. Returns available device listing details. The underlying FDA source documents the specific record and its scope. Requires at least one of device_id, device_name, company_name or brand_name; a call with only offset and limit is rejected.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fda_device_udi_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
offsetNoResult offset for pagination (0-10000)
device_idNoDevice Identifier (DI) — exact barcode/GTIN lookup
brand_nameNoBrand name (fuzzy search)
device_nameNoDevice/brand name (fuzzy search)
company_nameNoCompany/manufacturer name (fuzzy search)

Output Schema

NameRequiredDescriptionDefault
dataYesTool result including records, provenance, freshness and matching limits when available

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Result offset for pagination"New value: +"Result offset for pagination (0-10000)"
    • changedInput schema / properties / offset / maximum
      Previous value: -9007199254740991New value: +10000
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "description": "Tool result including records, provenance, freshness and matching limits when available",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/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 safety is covered. The description usefully adds a call-shape constraint ('a call with only offset and limit is rejected'), which prevents a wasted round trip, but 'Returns available device listing details' and 'The underlying FDA source documents the specific record and its scope' are vague and add little concrete behavior.

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?

Short and front-loaded: purpose first, then return, then the selection constraint. One sentence ('The underlying FDA source documents the specific record and its scope') is near-vacuous and could be dropped, but the rest earns its place.

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?

With an output schema present, return values needn't be explained, and the description correctly focuses on the one non-obvious rule missing from the schema (the anyOf identifier requirement). The remaining gap is sibling differentiation against fda_device_udi, which is a moderate but not fatal omission.

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% and each parameter already documents exact vs fuzzy semantics, so the baseline is 3. The description adds genuine meaning beyond the schema by stating that at least one of device_id, device_name, company_name or brand_name is required, a constraint the schema (required: []) does not express.

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?

States a specific verb and resource ('Read a device UDI record by identifier') and mentions what comes back ('available device listing details'). It is clear on its own, but it does not distinguish itself from the sibling 'fda_device_udi', whose name suggests the same resource, so an agent has no stated basis for choosing between them.

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?

Gives an explicit positive case ('Use for device identification lookups') and explicit exclusions ('not for recalls or enforcement'), which maps onto the sibling categories fda_device_recalls and fda_ires_enforcement. It stops short of naming the exact alternative for a pure UDI lookup.

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.