Skip to main content
Glama

Ensembl Lookup

ensembl_lookup
Read-onlyIdempotent

"Ensembl gene info for [ENSG...]" / "look up [Ensembl ID]" / "fetch [ENST.../ENSE.../ENSP...]", fetch metadata for an Ensembl stable ID (gene / transcript / exon / translation). Returns name, biotype, chromosomal position, strand, description. Pass expand=true to include child features (transcripts of a gene, exons of a transcript). Example: ENSG00000157764 (BRAF).

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": {
      "id": "ENSG00000157764"
    },
    "name": "ensembl_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYese.g. "ENSG00000157764" (BRAF)
expandNoInclude child features.
assemblyNoHuman genome build: "GRCh38" (the default) or "GRCh37" (= hg19). Coordinates you pass and coordinates you get back are both in this build. Older variant lists, spreadsheets and published tables are usually GRCh37.

Output Schema

NameRequiredDescriptionDefault
idNoStable ID
endNoEnd coordinate
ExonNoChild exons (if expand=true)
startNoStart coordinate
strandNoStrand (1 or -1)
biotypeNoBiotype classification
speciesNoSpecies name
TranscriptNoChild transcripts (if expand=true)
descriptionNoObject description
object_typeNoType of object (Gene, Transcript, Exon, Translation)
display_nameNoDisplay name
assembly_nameNoAssembly name
seq_region_nameNoChromosome or sequence region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds real value beyond that: which record types are accepted and what child features expand=true surfaces (transcripts of a gene, exons of a transcript). It omits error behavior for malformed or retired IDs and any rate-limit notes.

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?

It is short and dense: trigger phrasings, the core verb+resource, return fields, the expand behavior, and a concrete example, with no filler sentences. Every clause contributes something an agent can act on.

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?

With an output schema present and rich annotations, the description needn't document return shape or safety, and it still summarizes both. The only meaningful gap for a lookup tool is failure behavior on unknown or non-human IDs, which no structured field covers.

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 goes beyond the schema by mapping expand to concrete child-feature relationships (gene→transcripts, transcript→exons) rather than the schema's bare "Include child features." The assembly parameter's GRCh37/GRCh38 nuance is left entirely to the schema, which is acceptable given full coverage.

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 names a specific verb and resource: "fetch metadata for an Ensembl stable ID (gene / transcript / exon / translation)", and enumerates the returned fields. It does not explicitly distinguish itself from the sibling ensembl_homology or lookup_symbol, so it stops 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 Guidelines3/5

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

Quoted user phrasings ("look up [Ensembl ID]", "fetch [ENST...]") give implicit routing cues, and it says when to pass expand=true. However, there is no explicit when-not-to-use guidance and no named alternative such as ensembl_homology for homology queries.

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.