Skip to main content
Glama

DailyMed MCP by usefulapi

List / search drug names

dailymed_list_drug_names
Read-only

List drug names in DailyMed (name + name_type B=brand/G=generic). Pass drug_name to filter by a substring — a fast way to discover exact spellings before searching labels. DailyMed v2: GET /drugnames.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based). Default 1.
pagesizeNoResults per page (max 100). Default 100.
drug_nameNoSubstring to filter drug names, e.g. 'aspirin'.
name_typeNob=brand, g=generic, both. Default both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description usefully adds the returned field set and the underlying v2 endpoint, but says nothing about pagination, ordering, or result-size behavior beyond what the schema already states.

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?

Two tightly written sentences that front-load the core action and the primary filtering use case. The trailing endpoint string (GET /drugnames) is mildly redundant for an agent that cannot call raw HTTP, but it costs little.

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

Completeness4/5

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

With no output schema, the description compensates by naming the returned fields (name, name_type). Combined with schema-documented paging parameters, an agent has enough to call it correctly; only ordering and result-size guidance are absent.

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

Parameters3/5

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

Schema coverage is 100%, so all four parameters are already documented in the schema, including the name_type enum. The description restates the name_type letters and explains the intent of drug_name as a discovery filter, which is only marginal added value over structured fields — baseline 3.

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?

States a specific verb+resource (list drug names in DailyMed) and discloses the return shape (name + name_type, B=brand/G=generic). The mention of discovering exact spellings before searching labels contrasts it functionally with dailymed_search_labels without opening either schema.

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?

Gives a clear use case — pass drug_name as a substring to discover exact spellings before searching labels — which implicitly routes the agent away from label search. It does not name the alternative tool or state an explicit when-not condition, so it stops short of a 5.

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.