Skip to main content
Glama

CPIC Clinical Pharmacogenomics Guidelines API MCP

Get CPIC recommendations by drug

get_cpic_recommendations_by_drug
Read-onlyIdempotent

Fetch actionable CPIC clinical dosing recommendations, phenotype implications, and recommendation strength for a 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": {
      "drug": "<drug>"
    },
    "name": "get_cpic_recommendations_by_drug"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYesDrug name (e.g. "codeine", "abacavir") or RxNorm ID (e.g. "RxNorm:2670").
limitNoMaximum recommendations to return (default 10, max 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so safety and idempotency are covered structurally. The description adds value by enumerating the payload contents (dosing recommendations, phenotype implications, strength), but says nothing about error behavior for unknown drugs, result ordering, or truncation beyond the limit parameter.

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 front-loaded sentence that names the resource and its return contents with no filler. It is efficient, though the enumeration of three content types makes it slightly dense rather than perfectly structured.

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?

This is a simple two-parameter read tool with no output schema, and the description covers what the response contains plus the schema covers both inputs. An agent has enough to invoke it correctly; only edge-case behavior (unknown drug, partial matches) is unstated.

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%: the schema already documents both 'drug' (name or RxNorm ID, with examples) and 'limit' (default 10, max 50). The description adds no further parameter meaning, so the baseline 3 for fully-covered schemas applies.

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 description gives a specific verb ('Fetch') and resource ('CPIC clinical dosing recommendations, phenotype implications, and recommendation strength') scoped to a drug, so the agent knows exactly what this returns. It does not explicitly contrast itself with siblings like search_cpic_drugs or list_cpic_guidelines, which is why 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 Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of prerequisites (e.g., whether the drug name must be resolved via search_cpic_drugs first), and no named alternatives. The only implied context is that the agent should already know a drug identifier.

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.