Skip to main content
Glama

Search Reactome pathways and entities

search_reactome_entity
Read-only

Search Reactome by keyword or fuzzy name to resolve pathways, reactions, proteins, complexes, and compounds to stable IDs, with optional species and entity-type filters.

Instructions

Search the Reactome pathway knowledgebase by keyword (name / fuzzy match).

Resolves a term (pathway / reaction / protein / complex / small-molecule name) to Reactome stable IDs. Matching is keyword/fuzzy — UNLIKE the exact-match ChEMBL search tools, so expect ranked, approximate hits.

RETURNS a dict {'total_count', 'has_more', 'results'} — NOT a bare list. total_count is the number of records RETURNED (capped by limit); has_more is true if more matched beyond the cap. Each result carries 'id' (stable Reactome stId, e.g. "R-HSA-109581"), 'name', 'type' (facet type), 'exactType' (specific BioPAX-ish class), 'species' (list), and — only when include_summation=True — 'summation' (≤240-char description). On upstream failure returns {'error': ...} instead — check for 'error' before reading 'results'.

species and types are validated case-INSENSITIVELY against Reactome's controlled vocabularies and normalized to canonical casing before dispatch: the server-side filter is case-SENSITIVE and silently ignores a mis-cased value (returning UNFILTERED results), so a mis-cased species used to lose most hits. An unrecognized species/type now RAISES rather than silently returning the wrong rows.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_reactome_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
rowsNoDEPRECATED alias for `limit` (the old name meant per-type rows). Passing both `limit` and `rows` with different values raises.
termNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
limitNoMaximum number of records returned overall (default 25). A true total cap, not per-type.
queryNoSearch string, e.g. "apoptosis", "TP53", "cell cycle". Accepts aliases: `search`, `term`, `keyword`, `keywords`, `search_term`, `name` (supplying two different values raises ValueError).
typesNoFilter by entity type(s), case-insensitive; a string or list. Valid values: Cell, Chemical Compound, Complex, DNA Sequence, Drug, Genes and Transcripts, OtherEntity, Pathway, Polymer, Protein, RNA Sequence, Reaction, Set. Unknown values raise ValueError.
searchNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
keywordNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
speciesNoFilter by species scientific name, case-insensitive (e.g. "Homo sapiens", "homo sapiens", "Mus musculus"). A single string or a list. Unrecognized names raise ValueError (96 species available; see reactome.org/ContentService/data/species/all).
keywordsNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
search_termNoAlias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError.
include_summationNoWhen True, add a ≤240-char 'summation' description to each record. Default False keeps the payload small (a broad default search is ~hundreds of tokens instead of thousands).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.34.1
    • addedInput schema / properties / keyword / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
    • addedInput schema / properties / keywords / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
    • addedInput schema / properties / name / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
    • addedInput schema / properties / search / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
    • addedInput schema / properties / search_term / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
    • addedInput schema / properties / term / description
      Added value: +"Alias for `query` — pass ONE of query/search/term/keyword/keywords/search_term/name. Supplying two with different values raises ValueError."
  2. Changed13 schema fields changedv2.0.0
    • addedInput schema / properties / include_summation
      Added value: +{
      +  "default": false,
      +  "description": "When True, add a ≤240-char 'summation' description to\neach record. Default False keeps the payload small (a broad default\nsearch is ~hundreds of tokens instead of thousands).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Maximum number of records returned overall (default 25). A true\ntotal cap, not per-type."
      +}
    • addedInput schema / properties / query / description
      Added value: +"Search string, e.g. \"apoptosis\", \"TP53\", \"cell cycle\". Accepts\naliases: `search`, `term`, `keyword`, `keywords`, `search_term`,\n`name` (supplying two different values raises ValueError)."
    • addedInput schema / properties / rows / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / rows / default
      Previous value: -30New value: +null
    • addedInput schema / properties / rows / description
      Added value: +"DEPRECATED alias for `limit` (the old name meant per-type rows).\nPassing both `limit` and `rows` with different values raises."
    • removedInput schema / properties / rows / type
      Removed value: -"integer"
    • addedInput schema / properties / species / description
      Added value: +"Filter by species scientific name, case-insensitive\n(e.g. \"Homo sapiens\", \"homo sapiens\", \"Mus musculus\"). A single\nstring or a list. Unrecognized names raise ValueError (96 species\navailable; see reactome.org/ContentService/data/species/all)."
    • addedInput schema / properties / types / description
      Added value: +"Filter by entity type(s), case-insensitive; a string or list.\nValid values: Cell, Chemical Compound, Complex, DNA Sequence, Drug,\nGenes and Transcripts, OtherEntity, Pathway, Polymer, Protein,\nRNA Sequence, Reaction, Set. Unknown values raise ValueError."
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  3. Changed2 schema fields changedv0.1.1
    • removedOutput schema / properties / result / items
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • changedOutput schema / properties / result / type
      Previous value: -"array"New value: +"string"
  4. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it discloses the response envelope (total_count/has_more/results), the per-record fields, the error-envelope on upstream failure with a 'check for error first' instruction, the cap semantics of total_count, and the case-normalization plus raise-on-unknown behavior for species/types filters. The include_summation token-cost note is practical operational context an agent cannot get elsewhere.

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 and the fuzzy-vs-exact differentiator, then returns, then filter caveats — a sensible order with no filler sentences. It is dense and slightly noisy (backticked field names, dict literal notation in prose), which costs it a point on readability rather than length.

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 12-parameter, alias-heavy tool a description this thorough is close to sufficient: search semantics, filter validation, caps, error path, and payload size are all covered. The detailed return-value paragraph is partly redundant given an output schema exists, but the error-envelope detail still earns its place.

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 already 100%, but the description still adds real meaning: limit is a true overall cap rather than per-type, rows is a deprecated alias, and species/types are validated case-insensitively before dispatch. It does not restate the alias list verbatim, which is the right call since the schema owns that.

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 (search) and resource (Reactome pathway knowledgebase), enumerates the entity kinds it resolves (pathway/reaction/protein/complex/small-molecule) and the output (stable IDs). It also explicitly contrasts itself with the exact-match ChEMBL search siblings, so an agent can pick it without opening another schema.

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?

The 'keyword/fuzzy — UNLIKE the exact-match ChEMBL search tools' line gives a clear selection rule against the most confusable siblings, and it warns to expect ranked approximate hits. It stops short of naming when *not* to use it (e.g., when an exact Reactome ID is already known and a different lookup route is better).

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