Skip to main content
Glama

Search drugs by name

search_drugs
Read-onlyIdempotent

Searches drugs by brand or generic name, such as metformin or Eliquis. Returns up to 10 matches with each drug's RxCUI, its name and form, whether it is a brand or a generic, and how many marketplace plan drug lists name it. Use the RxCUI with get_drug.

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": {
      "name": "<name>"
    },
    "name": "search_drugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe drug's brand or generic name, such as metformin or Eliquis.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the result cap ('up to 10 matches') and the returned fields including plan-list coverage count. It stops short of describing ordering or how to handle truncated result sets.

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?

Three short sentences, front-loaded with the purpose, then the return shape, then the handoff. Slight redundancy: the brand/generic name example is repeated verbatim from the schema, which is the only wasted wording.

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?

An output schema exists, so the brief return summary is optional extra rather than a burden. For a one-parameter read tool this is nearly complete; the only gap is behavior when matches exceed the 10-result cap.

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% with a single parameter whose description already contains the same 'metformin or Eliquis' examples and length bounds. The description adds no syntax, matching behavior, or partial-match rules beyond what the schema states, so the baseline 3 applies.

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 and resource ('Searches drugs by brand or generic name') and names the sibling it feeds into ('Use the RxCUI with get_drug'), so an agent can distinguish it from get_drug and from the provider/plan search siblings without opening any 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 usage path: search here first, then pass the returned RxCUI to get_drug. It does not state exclusions or what to do when more than 10 matches exist, so it falls short of full when/when-not guidance.

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.

Resources