Skip to main content
Glama
berntpopp
by berntpopp

Resolve Diseases (batch)

resolve_disease_batch
Read-onlyIdempotent

Resolve multiple rare disease identifiers (ORPHAcodes, labels, xrefs) in a single batch call, returning each item's orpha code, name, and match type with per-item error handling.

Instructions

Resolve many labels/ORPHAcodes/xrefs in one call (partial success: each item returns its resolution {orpha_code, name, match_type} or its own ok=false/error_code/message; the call never fails wholesale). Max 50 items; compact per item. Signature: resolve_disease_batch(queries, response_mode=).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYesA LIST of 1..50 disease labels, ORPHAcodes or xref CURIEs to resolve — one entry per item, not a comma-joined string.
response_modeNoVerbosity: minimal|compact|standard|full (default compact).compact
Behavior5/5

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

Annotations already provide readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds critical behavioral details: partial success with per-item errors, never wholesale failure, and compact per-item signature. No contradictions with annotations.

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?

Two sentences covering purpose, behavior, parameters, limits. High information density with no filler. Front-loaded with the core action.

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

Completeness5/5

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

Despite lacking an output schema, the description explains the return format (orpha_code, name, match_type, ok=false/error details). Combined with rich annotations and schema, the agent has sufficient context to use the tool correctly.

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

Parameters5/5

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

Schema coverage is 100%. The description adds value by explaining queries must be a list of strings (not comma-joined), provides examples, and clarifies response_mode enum with default. This surpasses what the schema alone offers.

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 resolves multiple labels/ORPHAcodes/xrefs in one call, with per-item resolution details. It distinguishes from the single-item resolve_disease and resolve_xref siblings by emphasizing batch capability and partial success behavior.

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 specifies a max of 50 items, partial success behavior, and the response structure. It does not explicitly mention when not to use, but the batch context is clear. Sibling tools like get_disease_batch and resolve_disease provide alternatives for different use cases.

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/berntpopp/orphanet-link'

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