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

cpic-pharmacogenomics-api-mcp

List CPIC alleles by gene

list_cpic_alleles_by_gene
Read-onlyIdempotent

Retrieve CPIC star allele definitions, clinical functional status, activity scores, and citations for a gene; filter by functional status to interpret pharmacogene variants.

Instructions

List CPIC star allele definitions, clinical functional status, activity scores, and literature citations for a gene.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum allele records to return (default 15, max 50).
gene_symbolYesPharmacogene symbol (e.g. "CYP2D6", "CYP2C19", "CYP2B6").
functional_statusNoOptional functional status substring (e.g. "No function", "Decreased", "Normal").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, open-world listing operation. The description adds useful content context about what is returned, including functional status, activity scores, and literature citations, but it does not mention pagination behavior, ordering, or limits beyond what the schema provides.

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?

The description is a single front-loaded sentence that names the tool's output scope without filler. Every phrase contributes to explaining what the tool returns for a gene.

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 read-only listing tool with fully documented parameters and rich annotations, the definition is nearly complete because it names the key returned data even though no output schema exists. It could be slightly stronger by mentioning the result limit or that results are scoped to a required gene symbol, but the schema covers those details.

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 the schema already explains the gene symbol, optional functional status filter, and limit with examples and bounds. The description adds no parameter-specific meaning beyond that structured documentation.

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?

The description gives a specific verb and resource: it lists CPIC star allele definitions plus functional status, activity scores, and citations for a gene. This clearly separates it from sibling tools focused on gene-drug pairs, drug recommendations, guidelines, or drug search.

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 description implies the tool should be used when retrieving allele definitions for a specific gene, but it does not explicitly state when to choose it over alternatives or when not to use it. There is no routing guidance to the sibling CPIC tools.

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