Skip to main content
Glama

Search MeSH

mesh_search
Read-onlyIdempotent

Search MeSH (Medical Subject Headings) to find controlled vocabulary terms for indexing medical literature and PubMed queries.

Instructions

Search for MeSH (Medical Subject Headings) descriptors.

Use this tool to:

  • Find MeSH terms for indexing medical literature

  • Look up subject headings for PubMed searches

  • Find controlled vocabulary terms

Set language to request NLM's official translations where they exist (e.g. language: "pt" for Portuguese labels); content is never machine-translated.

Returns matching descriptors with MeSH IDs and labels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
matchNoMatch type: exact, contains, or startswith. Default: containscontains
queryYesSearch term (e.g., "diabetes", "heart failure")
languageNoLanguage code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated.en
max_resultsNoMaximum number of results (1-100). Default: 25

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
matchYes
queryYes
provenanceYesProvenance block (contract v1.0): source, URL, data vintage, extraction instant, citation, license
attributionYesCanonical source URLs of this response (attribution list)
descriptorsYes
total_countYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds valuable context: 'content is never machine-translated' and results include MeSH IDs and labels, which are behavioral nuances not fully covered by 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?

The description is concise at five sentences, with a clear structure: summary line, bulleted use cases, a language nuance note, and a return statement. Every sentence earns its place with no redundancy.

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 an output schema present, return values need no further explanation. The description covers core use cases, translation behavior, and matching context, making it fully sufficient for a search tool with strong annotations and schema.

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%, so the baseline is 3. The description enriches the `language` parameter by explicitly stating it returns NLM's official translations and never machine-translates, and gives an example ('pt' for Portuguese). This adds semantic value beyond the schema.

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 uses a specific verb+resource ('Search for MeSH descriptors') and immediately lists concrete use cases: indexing medical literature, PubMed searches, and finding controlled vocabulary terms. This clearly distinguishes it from sibling tools like icd11_search or loinc_search.

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 'Use this tool to' bullet list explicitly frames the intended contexts (indexing, PubMed subject headings, controlled vocabulary). It does not name alternatives or exclusions, but the use cases make it evident when this tool is appropriate relative to sibling search tools.

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/SidneyBissoli/medical-terminologies-mcp'

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