Skip to main content
Glama

Xrefs

xrefs
Read-onlyIdempotent

"What's the UniProt / HGNC / RefSeq ID for [gene]" / "cross-references for [gene symbol]", external database IDs (UniProt, RefSeq, HGNC, Entrez, OMIM, etc.) for a gene symbol. Use to map between bio-database identifier spaces.

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": {
      "symbol": "TP53",
      "species": "human"
    },
    "name": "xrefs"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
speciesYes

Output Schema

NameRequiredDescriptionDefault
countYesNumber of items returned.
itemsYesExternal cross-references for a gene symbol

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "species": "human",
      +    "symbol": "TP53"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of items returned.",
      +      "type": "integer"
      +    },
      +    "items": {
      +      "description": "External cross-references for a gene symbol",
      +      "items": {
      +        "properties": {
      +          "dbname": {
      +            "description": "Database name (UniProtKB, NCBI, etc)",
      +            "type": "string"
      +          },
      +          "description": {
      +            "description": "Cross-reference description",
      +            "type": "string"
      +          },
      +          "display_id": {
      +            "description": "External identifier",
      +            "type": "string"
      +          },
      +          "primary_id": {
      +            "description": "Primary external ID",
      +            "type": "string"
      +          },
      +          "xref_id": {
      +            "description": "Xref database ID",
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  2. 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, idempotentHint, openWorldHint and destructiveHint=false, so the safety and external-call profile is covered by structured data. The description only adds that the IDs come from named external databases, consistent with openWorldHint. It says nothing about coverage gaps, unknown symbols, or ambiguity handling that would help an agent interpret results, so it adds only modest value beyond annotations.

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?

The intent is front-loaded via the quoted example questions, and the total length is short. The quoted phrasing and the repeated idea of external database IDs are slightly redundant, but nothing is padded or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. But with both parameters required and the species dimension completely absent from the description, an agent cannot know whether to pass 'human', 'Homo sapiens', or a taxon ID, which risks incorrect invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it only names the 'gene symbol' concept behind the symbol parameter. The required species parameter is never mentioned, and there is no guidance on accepted species values, symbol formats, or alias handling. This leaves a critical required input undocumented for a two-parameter tool.

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 states a specific resource and output: cross-reference IDs from UniProt, RefSeq, HGNC, Entrez, OMIM for a gene symbol, plus the inverse mapping intent. An agent can tell this is an identifier-mapping tool rather than an expression or sequence lookup. It does not explicitly distinguish itself from siblings such as ensembl_lookup or lookup_symbol, keeping it below 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 Guidelines3/5

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

"Use to map between bio-database identifier spaces" implies the usage context, and the quoted example questions illustrate a typical query. However, there are no exclusions, no stated prerequisites, and no routing guidance against alternative lookup tools. Usage is implied rather than prescribed.

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.