Skip to main content
Glama

clinvar

Search genetic variants by gene, variant, or clinical significance to retrieve accessions, germline classifications, review status, conditions, genes, and protein changes.

Instructions

Search ClinVar variants by gene, variant or clinical significance.

query uses ClinVar search syntax, e.g. BRCA1[gene] AND pathogenic[clinical_significance] or NM_007294.4(BRCA1):c.711del. Returns variant accessions, titles, germline classification, review status, conditions, genes, protein change and molecular consequences. Empty results are a true upstream answer (count: 0).

Args: query: ClinVar search expression. limit: Variants to return, 1-50 (default 10).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does fairly well: it discloses the returned fields (accessions, germline classification, review status, conditions, genes, protein change, consequences), the result-cap range, and the important semantic that `count: 0` is a true answer, not a failure. It does not mention rate limits, authentication, or pagination behavior, which keeps it below a 5.

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?

Front-loaded with purpose, then syntax examples, then return shape, then args - a logical order with no filler. The 'Args' block partially restates the schema titles, but it earns its place by supplying the limit range and query semantics.

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 two-parameter read tool with no output schema or annotations, the description covers what is queried, the input syntax, the cap, and the return fields, which is enough to call it correctly. Only secondary details such as result ordering or error behavior are absent.

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 0%, so the description must compensate, and it does: it explains that `query` is a ClinVar search expression and demonstrates the bracket-field syntax, and it adds the 1-50 range and default of 10 for `limit`, which the schema lacks. A few common field tags or escaping rules are left unstated, so it is strong rather than exhaustive.

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 opens with a specific verb and resource ('Search ClinVar variants') and names the searchable facets (gene, variant, clinical significance). No sibling in the catalog queries ClinVar variants, so the tool is unambiguously distinguishable from bindingdb_ligands, clinical_trials, and the other database-specific siblings.

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?

It gives concrete query patterns ('BRCA1[gene] AND pathogenic[clinical_significance]', an HGVS-style example) that tell an agent exactly what kind of input is appropriate, and it explains that an empty result is a valid upstream answer rather than an error. It stops short of naming when to prefer an alternative tool or of stating any prerequisites.

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