Search DynaMed
dynamed_searchSearch DynaMed clinical reference content by keyword to find topics, drug monographs, images, and videos, returning article IDs and slugs for full article retrieval.
Instructions
Search DynaMed clinical reference content (topics, drug monographs, images, videos) by keyword.
This is the entry point for almost every DynaMed workflow: it returns article ids and slugs that dynamed_get_article / dynamed_get_article_by_slug then use to fetch full content. It only reads content; it never modifies anything.
Args:
query (string, required): clinical search term, e.g. "community acquired pneumonia treatment"
page (number): 1-based page number (default 1)
page_size (number): results per page, 1-50 (default 10)
fields (string[]): any of title, pubType, description, sections, metadata, toc (default ["title","description","pubType"]). 'sections'/'toc' return large text blocks.
filters (object[]): [{ field: "pubTypeId"|"pubTypeGroup"|"pubTypePretty", values: string[] }]
aggregations (string[]): any of "pubType.group", "pubType.id", "pubType.pretty" — returns result counts per publication type, which is how you discover valid filter values
response_format ('markdown'|'json'): output format (default 'markdown')
Returns (json format): { "query": string, "query_used": string, "page": number, "page_size": number, "total_items": number, "total_pages": number, "count": number, "has_more": boolean, "next_page": number, "items": [{ "id": string, "title": string, "slug": string, "description": string, "pub_type": string, "exact_match": boolean, "media_type": string }], "aggregations": [{ "field": string, "counts": { "": number } }] }
Examples:
"What does DynaMed say about heart failure?" -> query="heart failure"
"Only drug monographs about metformin" -> query="metformin", aggregations=["pubType.pretty"] to see available types, then re-run with the matching filter
Don't use when: you already have an article id -> use dynamed_get_article instead
Error handling:
"No results found for ''" when the search returns nothing — try broader terms
HTTP 403 means your EBSCO subscription does not cover the configured product
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "dynamed_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number | |
| query | Yes | Clinical search term, e.g. 'atrial fibrillation anticoagulation' | |
| fields | No | Fields to return per result. 'sections' and 'toc' add a lot of text — request them only when needed. | |
| filters | No | Narrow results by publication type. Discover valid values via 'aggregations' first. | |
| page_size | No | Results per page (1-50) | |
| aggregations | No | Return result counts grouped by publication type, useful for discovering filters | |
| response_format | No | 'markdown' for human-readable output, 'json' for machine-readable | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| count | Yes | ||
| items | Yes | ||
| query | Yes | ||
| has_more | Yes | ||
| next_page | No | ||
| page_size | Yes | ||
| query_used | No | ||
| total_items | Yes | ||
| total_pages | Yes | ||
| aggregations | No |