Skip to main content
Glama
cpic-pharmacogenomics-api-mcp

cpic-pharmacogenomics-api-mcp

Search CPIC drugs

search_cpic_drugs
Read-onlyIdempotent

Search CPIC drugs by partial name to retrieve RxNorm, DrugBank, ATC, and guideline cross-references, helping identify pharmacogenomic drug records and related guidance.

Instructions

Search CPIC drugs by partial name and return RxNorm, DrugBank, ATC, and guideline cross-references.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_cpic_drugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum drug records to return (default 15, max 50).
queryNoOptional drug name substring (e.g. "codeine", "warfarin", "clopidogrel").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description contributes useful context by disclosing that matching is on partial name and that results carry external cross-references, but it says nothing about whether an omitted query returns everything, how limit truncation behaves, or ordering of results.

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

Conciseness5/5

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

A single front-loaded sentence with no filler: verb, matching semantics, and returned reference types in one pass. Nothing in it is redundant with the title or restates schema fields.

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 only two fully documented parameters, no output schema, and annotations covering the safety profile, the description is nearly sufficient — it even names the categories of data returned, compensating for the absent output schema. The remaining gap is what happens with an empty query and whether results are bounded by limit in a predictable way.

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%, so both parameters are already documented with defaults, bounds, and examples. The description adds only one semantic point beyond that — that the query is a substring match rather than exact — which is genuinely useful but modest; baseline 3 is appropriate.

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?

Names a specific verb and resource ("Search CPIC drugs") and adds scope detail — partial-name matching — plus the cross-reference fields returned (RxNorm, DrugBank, ATC, guidelines). It does not explicitly distinguish itself from siblings like get_cpic_recommendations_by_drug, but the search-by-name framing is distinct enough that an agent can tell it is the lookup entry point.

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?

Usage is only implied: the agent can infer this is the tool for resolving a drug name to CPIC-linked identifiers. There is no explicit statement of when to prefer it over get_cpic_recommendations_by_drug or how to proceed after obtaining a match, and no note on behavior when no query is supplied.

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