Search MeSH descriptors
search_mesh_descriptorFind MeSH descriptors by case-insensitive substring match in their labels through the NLM MeSH lookup API, returning descriptor IRIs and labels for matching biomedical terms.
Instructions
Find MeSH descriptors whose label contains the query, via the NLM MeSH lookup API (https://id.nlm.nih.gov/mesh/lookup/descriptor). Matching is a case-insensitive substring match on the descriptor label, so "asthma" also returns "Anti-Asthmatic Agents".
RETURNS a JSON array string of {"resource": <MeSH descriptor IRI>, "label": <descriptor name>} objects (at most limit); the descriptor ID (e.g. D001249)
is the IRI's last path segment. On upstream/HTTP
failure this tool does NOT raise — it returns a plain string beginning with
"Error:" (not JSON). check for the "Error:" prefix before parsing.
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": "search_mesh_descriptor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. | |
| term | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. | |
| limit | No | The maximum number of results to return. Default is 10. | |
| query | No | The query string to search for. Accepts aliases: `search`, `term`, `keyword`, `keywords`, `search_term`, `name`. | |
| search | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. | |
| keyword | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. | |
| keywords | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. | |
| search_term | No | Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |