Skip to main content
Glama
plant-genomics-mcp

plant-genomics-mcp

by musharna

Synthesis: Gene Report (Markdown dossier)

gene_report
Read-onlyIdempotent

Generates a one-shot gene dossier for a plant locus by resolving Ensembl Plants and UniProt records and compiling pathways, interactions, GO terms, cross-references, and literature.

Instructions

Synthesis: one-shot 'tell me about this gene' dossier. Resolves a locus through Ensembl Plants + UniProt, then fans out to cross-references, KEGG pathways, STRING interactors, Europe PMC literature, and QuickGO GO terms. Returns a SynthesisEnvelope whose result.markdown is a rendered Markdown gene dossier (the headline output) alongside a structured result.sections mirror; each backend payload appears once, under sections, while steps[] carries status and per-step timing only. The literature section carries no abstracts (abstracts_included: false) and the GO section no withFrom (with_from_included: false); locus_literature and locus_go_annotations return them. result.gene_names labels the Ensembl and UniProt gene names separately when they differ. Any single backend failure degrades that section to an 'Unavailable' note; the rest of the dossier still renders.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "locus": "<locus>"
    },
    "name": "gene_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
locusYesLocus name, e.g. AT1G01010
top_nNoCaps GO terms, pathways, interactors, xrefs, and papers per section
organismNoPlant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxidarabidopsis_thaliana

Output Schema

NameRequiredDescriptionDefault
toolYesSynthesis tool name, e.g. analyze_locus_synth
inputYesEchoed input arguments
stepsYesPer-backend execution rows
resultNoComposed cross-source result; None if root step failed
elapsed_sYesTotal orchestrator wall time
started_atYesISO 8601 UTC timestamp
failed_stepsNoStep numbers whose status is "error". Non-empty means the result is partial: the call succeeded, so it is not an error result, but these backends failed and their sections are missing; each step's error says why.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.31.0
    • addedOutput schema / properties / failed_steps
      Added value: +{
      +  "description": "Step numbers whose status is \"error\". Non-empty means the result is partial: the call succeeded, so it is not an error result, but these backends failed and their sections are missing; each step's error says why.",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "title": "Failed Steps",
      +  "type": "array"
      +}
  2. Changed2 schema fields changedv1.22.0
    • changedOutput schema / $defs / StepRow / description
      Previous value: -"One backend call inside a synthesis envelope.\n\n``status=\"ok\"`` populates ``result``; ``status=\"error\"`` populates ``error``\nwith the existing ``[ExceptionClass] message`` wire format from\n``errors.PlantGenomicsError.__str__``. ``status=\"skipped\"`` populates\n``error`` with a human-readable skip reason (e.g. phase 1 failed)."New value: +"One backend call inside a synthesis envelope.\n\n``status=\"ok\"`` populates ``result`` — unless the orchestrator carries the\npayload elsewhere in the envelope (``gene_report`` keeps it once, under\n``result.sections``), in which case the row is the audit trail alone and\n``result`` is None. ``status=\"error\"`` populates ``error`` with the\nexisting ``[ExceptionClass] message`` wire format from\n``errors.PlantGenomicsError.__str__``. ``status=\"skipped\"`` populates\n``error`` with a human-readable skip reason (e.g. phase 1 failed)."
    • changedOutput schema / $defs / StepRow / properties / elapsed_s / description
      Previous value: -"Per-step wall time when separately measurable, else None. Phase-2 gather rows and phase-0 pre-call validation failures return None because their wall time can't be honestly attributed per-step; SynthesisEnvelope.elapsed_s carries the authoritative total."New value: +"Per-step wall time: every awaited backend call is timed on its own, including inside a phase-2 gather. None only for rows that never ran (skipped, or a phase-0 pre-call validation failure); SynthesisEnvelope.elapsed_s carries the orchestrator total."
  3. Addedv1.21.0
  4. Removedv1.20.0
  5. Addedv1.18.2

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses partial-failure behavior ("any single backend failure degrades that section to an 'Unavailable' note"), where payloads are duplicated versus summarized (sections vs. steps[] timing), and specific field-level omissions (abstracts_included: false, with_from_included: false). These are non-obvious traits an agent could not infer from the schema or 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 headline purpose is front-loaded in the first clause and every subsequent sentence carries substantive information about outputs and failure modes. It is dense with parenthetical clauses and would read better as short bullets, but there is little outright filler.

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

Completeness5/5

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

For a multi-backend aggregation tool with an output schema, the description supplies the missing operational context: what the headline output is (result.markdown), what the structured mirror contains, and how partial failures are rendered. Nothing an agent needs to call it and interpret the response is absent.

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 locus, top_n, and organism are already documented in the schema, and the description does not add format or behavior detail for any of them. It adds a small amount of meaning about output fields (result.gene_names separating Ensembl vs. UniProt names) but nothing about how top_n or organism resolution actually behave.

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 description opens with a specific verb and resource ("one-shot 'tell me about this gene' dossier") and immediately names the exact upstream and downstream sources it aggregates (Ensembl Plants, UniProt, KEGG, STRING, Europe PMC, QuickGO). That scope statement clearly separates it from the single-source siblings like locus_go_annotations and locus_literature, which it explicitly names.

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 phrase "one-shot" plus the enumeration of every backend makes the intended use (a consolidated dossier rather than a targeted lookup) clear, and it explicitly routes the agent to locus_literature and locus_go_annotations when abstracts or withFrom fields are needed. It stops short of stating explicit when-not-to-use conditions or cost/latency tradeoffs versus running several narrow tools.

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