Skip to main content
Glama

DailyMed MCP by usefulapi

Get label packaging & ingredients

dailymed_label_packaging
Read-only

Get packaging descriptions plus product names and active ingredients (name + strength) for each product in a label, by SETID. DailyMed v2: GET /spls/{setid}/packaging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Default 1.
setidYesThe label SETID (UUID).
pagesizeNoResults per page (max 100). Default 100.

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.7/5.0
Behavior4/5

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

With readOnlyHint already declaring the safety profile, the description adds genuine value by spelling out the return payload (packaging descriptions, product names, active ingredient name + strength) and mapping to the concrete DailyMed v2 endpoint GET /spls/{setid}/packaging. It stops short of noting auth needs, rate limits, or pagination behavior beyond what the schema already carries.

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?

A single tight sentence followed by the endpoint reference; the key scoping phrase 'by SETID' is placed near the end but the payload description is front-loaded. No wasted prose.

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 usefully enumerates what is returned, and the input parameters are fully covered by the schema. The main gap is guidance on choosing this tool over dailymed_get_label for label-level data.

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 description coverage is 100% and all three parameters (setid, page, pagesize) are documented in the schema itself. The description only reinforces that setid is the lookup key, adding no format or semantics beyond the schema's UUID pattern note.

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?

States a specific verb and resource ('Get packaging descriptions plus product names and active ingredients') and scopes it to 'each product in a label, by SETID', which is more precise than a generic label fetch. It does not explicitly differentiate itself from siblings like dailymed_get_label or dailymed_label_ndcs, so it falls short of a 5.

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 phrasing implies the use case (retrieve packaging/ingredient data for a known label), but there is no explicit when-to-use guidance and no named alternative for the full-label or NDC use cases handled by siblings. Usage is inferable but not stated.

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.