Skip to main content
Glama

Drug Name Suggestions

suggest_drug_names

Find corrected spellings and alternative names for partial or misspelled drug names to support accurate medication identification and avoid prescribing errors.

Instructions

Provides accurate spelling suggestions for drug names when dealing with partial or potentially misspelled medication names. This tool helps ensure precise medication identification by offering corrected spellings and alternative names.

Clinical Purpose: Essential for accurate medication identification and patient safety. Helps avoid medication errors due to similar drug names or spelling variations.

When to Use:

  • User provides partial drug name that needs completion

  • Suspected spelling errors in drug names

  • Need to verify exact drug name before prescribing or dispensing

  • Exploring name variations (brand vs generic names)

Search Types:

  • trade_names: Commercial/brand medication names

  • active_ingredients: Chemical compound names

  • both: Comprehensive search across all name types (recommended)

Output: Returns ranked list of accurate drug names with confidence indicators and name type classifications.

Clinical Context: Medication name accuracy is critical for patient safety. This tool should be used whenever there's uncertainty about exact drug spelling or when exploring therapeutic alternatives.

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

Input Schema

NameRequiredDescriptionDefault
search_typeNoType of names to suggest - commercial names, active ingredients, or bothboth
partial_nameYesPartial or potentially misspelled drug name
max_suggestionsNoMaximum number of suggestions to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the return shape (ranked names with confidence indicators and name-type classifications), but says nothing about whether the operation is read-only, whether results are exhaustive or best-effort, or about any rate or latency limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and organized with headers, which is good. But 'Clinical Purpose' and 'Clinical Context' make essentially the same patient-safety point twice, and the section headers are heavier than three parameters warrant, so several sentences do not earn their place.

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 three-parameter read tool with no output schema, the description covers purpose, usage triggers, enum meanings, and the shape of the returned list. The main remaining gap is disambiguation from sibling lookup tools and any statement of behavioral limits.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds genuine value beyond the schema by explaining what each search_type enum member means and flagging 'both' as the recommended default, which the schema does not state; it adds nothing for max_suggestions or partial_name, however.

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 states a specific verb and resource: spelling suggestions for drug names from partial or misspelled input. It is clear what the tool does, but it never contrasts itself with the overlapping sibling discover_drug_by_name, so an agent could confuse name lookup with name correction.

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?

Four explicit when-to-use bullets cover partial names, suspected typos, pre-prescription verification, and brand-vs-generic exploration. There are no when-not conditions and no named alternatives (e.g., when to prefer discover_drug_by_name or get_comprehensive_drug_info instead), which keeps it below a 5.

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