Skip to main content
Glama

Udi By Registration

udi_by_registration
Read-onlyIdempotent

Find the devices in China's medical-device UDI register that carry a given product registration certificate number (such as 国械注进20173330107): product, model, registrant and identifiers. States plainly that the register holds no approval date; the issue year is read from the number.

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": {
      "limit": 3,
      "registration_number": "国械注进20173330107"
    },
    "name": "udi_by_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax device rows to return (default 10, max 50)
registration_numberYesOne full registration certificate number, e.g. 国械注进20173330107

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
sourceNo
resultsNo
data_as_ofNo
match_modeNo
approval_dateNo
approval_date_noteNo
registration_numberNo
certificate_year_from_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / results / items / properties / registrant / properties / name_en / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • removedOutput schema / properties / scan_note
      Removed value: -{
      -  "type": "string"
      -}
  3. Added

TDQS

A3.9/5.0
Behavior4/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 real behavioral context beyond them: the register carries no approval date and the issue year must be derived from the certificate number, which prevents an agent from hunting for a nonexistent field. Not-found or no-match behavior is left unstated.

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 sentences, front-loaded with the lookup purpose before the data caveat; nothing is padded. The 'States plainly that...' framing is mildly meta but still carries a substantive constraint.

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 need no explanation, and the description already names the main ones. Annotations cover safety and idempotency, so the remaining burden is small; only edge-case behavior (zero or multiple matches per number, as the limit param hints at) is unaddressed.

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 description coverage is 100% and the limit parameter already documents default 10 and max 50, so the schema does the heavy lifting. The description's 'one full registration certificate number' restates the schema wording rather than adding new semantics such as format validation or normalization rules.

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?

States a specific verb and resource – find devices in China's medical-device UDI register – and pins down the exact lookup key (a product registration certificate number), with returned fields enumerated (product, model, registrant, identifiers). The keyed-by-exact-certificate-number scope visibly separates it from keyword-style siblings like udi_search without needing to name them.

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: the input example and 'one full registration certificate number' make clear this is an exact-match lookup rather than a fuzzy search, but nothing says when to prefer this over udi_search or udi_resolve, nor what to do when a partial number is all you have. It does usefully flag an interpretation rule (issue year comes from the number, not a register field), which is guidance of a different kind.

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.