Skip to main content
Glama

Variation Spdi To Rsids

variation_spdi_to_rsids
Read-onlyIdempotent

Look up the dbSNP rsIDs that a SPDI allele maps to, via NCBI Variation Services. AUTHORITATIVE for the reverse direction, you have a genomic coordinate and alleles from a VCF or a pipeline and need the rsID other databases key on. SPDI is 0-BASED, unlike HGVS: "NC_000007.14:140753335:A:T" is the same variant as "NC_000007.14:g.140753336A>T".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spdi": "NC_000007.14:140753335:A:T"
    },
    "name": "variation_spdi_to_rsids"
  }
}

Input Schema

NameRequiredDescriptionDefault
spdiYesSPDI as seq_id:position:deleted:inserted, 0-based position. e.g. "NC_000007.14:140753335:A:T".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely useful behavioral context beyond that: it is an external NCBI-backed lookup and, critically, that SPDI positions are 0-based unlike HGVS, a trap that would otherwise cause off-by-one miscalls. It does not discuss failure modes or whether multiple rsIDs can come back.

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?

Three sentences, front-loaded with the action and its authority claim, then usage context, then the coordinate caveat. The only minor waste is repeating the same example variant already present in the schema's examples and property description.

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 single-parameter tool with no output schema, the definition covers what it does, where the data comes from, and the input convention. A brief note on the response shape (e.g., possibly several rsIDs, or empty on no match) would make it fully self-sufficient.

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 earns above that by restating the 0-based convention and giving a worked example that maps the SPDI string to its HGVS equivalent, which is more than the schema's format note conveys. The plural 'rsIDs' also hints that a single SPDI may resolve to multiple identifiers.

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 definition uses a specific verb and resource ('Look up the dbSNP rsIDs that a SPDI allele maps to') and names the backing service (NCBI Variation Services). It also carves out a distinct role ('AUTHORITATIVE for the reverse direction'), which separates it from the coordinate-conversion sibling without needing to name it.

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 a concrete usage context: you have a genomic coordinate and alleles from a VCF or pipeline and need the rsID other databases key on. What is missing is an explicit when-not or a named alternative (e.g., the HGVS-to-SPDI sibling) for the opposite direction, so guidance is clear but not fully routing.

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.