Skip to main content
Glama

Allen Expression Datasets

allen_expression_datasets
Read-onlyIdempotent

List the Allen Brain Atlas in-situ hybridization expression experiments (SectionDataSets) for a gene, which atlas product they belong to (Mouse Brain, Developing Mouse, Human Brain, Mouse Spinal Cord), plane of section (coronal/sagittal), section thickness, and the dataset id used to fetch images and per-structure expression. AUTHORITATIVE for "where in the brain is gene X expressed" and for finding the experiment ids behind an Allen expression figure.

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": {
      "gene_acronym": "Gabra1"
    },
    "name": "allen_expression_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
num_rowsNoRows to return, 1-200 (default 25).
start_rowNo0-based offset for paging (default 0).
product_idNoOptional Allen product id filter (1 = Mouse Brain ISH, 3 = Developing Mouse Brain). Omit unless you need one product; the response always reports the unfiltered total.
gene_acronymYesGene symbol, e.g. "Gabra1" (mouse) or "GABRA1" (human). Casing selects the species record; both are tried and the response says which matched.
include_failedNoInclude experiments Allen flagged as failed QC (default false).
plane_of_sectionNoOptional filter: "coronal" or "sagittal". Omit for both, filtering can empty an otherwise non-empty result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / plane_of_section / description
      Previous value: -"Optional filter: \"coronal\" or \"sagittal\". Omit for both — filtering can empty an otherwise non-empty result."New value: +"Optional filter: \"coronal\" or \"sagittal\". Omit for both, filtering can empty an otherwise non-empty result."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real behavior: the response always reports the unfiltered total even when product_id filters, gene casing selects the species record with both tried and the match reported, and plane filtering can empty a non-empty result. It does not mention rate limits or result-size behavior, keeping it from 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?

Two sentences, front-loaded with the resource and its returned fields, then the authoritative-use claim. Dense but every clause carries information; the field enumeration is slightly list-like but earns its place given there is no output schema.

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 no output schema, the description compensates by naming the returned fields and the dataset id used downstream, and it flags the species-casing and filter-emptying behaviors an agent needs. Missing only paging/volume expectations for a tool that can return up to 200 rows.

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 every parameter is already documented in the schema, and the description adds no parameter-level meaning beyond it. Baseline 3 applies since the schema does the heavy lifting.

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?

States a specific verb (List) and a precise resource (Allen Brain Atlas in-situ hybridization expression experiments / SectionDataSets), then enumerates the returned fields (atlas product, plane of section, section thickness, dataset id). The closing 'AUTHORITATIVE for...' line separates it from allen_search_genes and allen_structures without ambiguity.

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?

Explicitly names the two questions this tool answers ('where in the brain is gene X expressed' and finding experiment ids behind a figure), which is strong when-to-use guidance. It stops short of stating when NOT to use it or naming the sibling to use instead for gene lookup or structure lookup.

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.