Skip to main content
Glama

Deep Research Search

search
Read-onlyIdempotent

Searches the medical terminologies (CID-10 categories and chapters, ICD-11, LOINC, RxNorm, MeSH, terminology version records) catalog and returns up to 10 matching documents as { id, title, url }, ordered by relevance (an empty list means nothing matched).

This tool exists for the OpenAI Deep Research contract: ChatGPT deep research, company knowledge and research workflows over the Responses API require exactly the tools search and fetch. Pass one of the returned ids to fetch to read the document. For direct questions and for data (values, series, rankings) prefer the terminology tools (icd11_*, cid10_*, loinc_*, rxnorm_*, mesh_*, atc_*, map_*, find_equivalent, validate_codes), which return the actual data with provenance — this is a catalog index, not a data query.

Query: natural language or keywords, Portuguese or English; accents and case are ignored.

Behavior: read-only and idempotent — the catalog comes from the public source and is cached in memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch terms, natural language or keywords (accents and case are ignored)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesMatching documents, in relevance order
provenanceYesOne provenance block per upstream source that contributed to this response (contract v1.0; licenses are never merged)
attributionYesCanonical source URLs of this response (attribution list)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses meaningful behavioral details: it returns at most 10 documents ordered by relevance, uses an empty list for no matches, works in Portuguese or English, ignores accents and case, and is backed by an in-memory cache of a public source. These details help an agent predict results accurately.

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?

The description is front-loaded with the core capability and then provides routing context, query guidance, and behavior in separate sections. It is somewhat dense and repeats the read-only/idempotent hints already present in annotations, but every paragraph earns its place by helping agents choose and use the tool.

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?

With one optional-free parameter, an output schema present, and clear return-shape details in the description, there is no missing information needed to invoke the tool correctly. The description even covers the no-match case and the follow-up `fetch` step, making it complete for an agent.

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?

The input schema already covers the single `query` parameter at 100%, so the baseline is 3. The description adds value by specifying Portuguese or English as accepted languages and clarifying that natural language or keywords are both valid, slightly extending what the schema says.

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 states a specific verb and resource: it searches the medical terminologies catalog and returns matching documents with an explicit shape and limit. It also distinguishes itself from the terminology data tools by clarifying it is a catalog index, not a data query, which prevents confusion with sibling `*_search` tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when this tool is required — the OpenAI Deep Research contract requires `search` and `fetch` — and explicitly routes direct data questions to the terminology tools (`icd11_*`, `cid10_*`, etc.). It also tells the agent to pass returned ids to `fetch`, giving clear workflow guidance.

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.