Skip to main content
Glama

dailymed

Search official NLM drug labels by drug name and return SPL set IDs, titles, publication dates, and versions; metadata only, not full label text.

Instructions

Search DailyMed drug labels by drug name.

query is a drug name ("aspirin"); returns SPL set ids, titles, published dates and SPL versions. DailyMed is NLM's official label repository; this is metadata search only (no full label text). Only upstream fields are returned; missing fields are omitted, nothing is inferred or completed. Failures return an error dict (error, source).

Args: query: Drug name. limit: Labels to return, 1-20 (default 5).

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": "dailymed"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the returned fields (SPL set ids, titles, published dates, versions), the no-inference/omitted-field policy, and the error dict shape with 'error' and 'source' keys. Gaps remain around matching semantics (exact vs partial name), authentication, and pagination beyond the limit.

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?

Front-loaded with the core action and scope in the first two sentences, then return shape, then failure behavior. The 'Args:' block is somewhat redundant with the prose and repeats the schema default of 5, but overall there is little waste.

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?

For a two-parameter read-only search with no output schema, the description covers what is returned, what is omitted, and how failures surface, which is enough to invoke it correctly. It is only short on match semantics and rate/auth context.

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 0%, so the description must document both parameters; it does define query as a drug name with an example and limit as 1-20 with default 5, adding the range the schema lacks. It does not clarify whether the name match is exact, prefix, or fuzzy, which is the key semantic for this parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource ('Search DailyMed drug labels by drug name') and immediately bounds the scope: metadata search only, no full label text. That scope statement separates it in spirit from a full-text label tool such as openfda, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

The description gives a scope boundary ('metadata search only, no full label text'), which implicitly tells the agent when this tool is not sufficient, and it gives an example query. However, it never states when to prefer this over a sibling label/drug source, nor any prerequisites, so usage must be inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.