Skip to main content
Glama
plant-genomics-mcp

plant-genomics-mcp

by musharna

Synthesis: Locus Overview

analyze_locus_synth
Read-onlyIdempotent

Resolves a plant locus via Ensembl Plants, then queries xrefs, UniProt, Europe PMC, and QuickGO in parallel to return a reconciled synthesis flagging cross-source name/accession disagreements.

Instructions

Synthesis: one-call equivalent of the analyze_locus prompt. Resolves a locus through Ensembl Plants, then fans out to xrefs, UniProt, Europe PMC, and QuickGO in parallel. Returns a SynthesisEnvelope with per-step status and a reconciled summary flagging cross-source name/accession disagreements.

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": "analyze_locus_synth"
  }
}

Input Schema

NameRequiredDescriptionDefault
locusYesLocus name, e.g. AT1G01010
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. First observedv1.8.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered; the description adds real value on top with the parallel fan-out behavior, per-step status reporting, and a reconciled flag for cross-source name/accession disagreements. That disagreement logic is exactly the kind of behavioral trait an agent could not derive from annotations or schema. It stops short of saying what happens when one fan-out branch fails or how long a multi-service call takes.

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?

Three sentences with no filler: identity/equivalence first, execution path second, return shape third. Each sentence carries distinct information and the most decision-relevant content (what it aggregates) is front-loaded.

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?

Given an output schema, full parameter coverage, and rich annotations, the remaining burden on the description is small and it covers pipeline composition, envelope structure, and disagreement flagging. A brief note on partial-branch failure behavior or cost of the multi-service call would close the last gap.

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% and both parameters (locus, organism) are fully documented in the schema, including accepted organism formats, so the baseline of 3 applies. The description adds only indirect context — that resolution happens via Ensembl Plants, hinting that organism scoping matters — without any new syntax or constraint detail.

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 states a concrete verb+resource ('Resolves a locus through Ensembl Plants') and enumerates the exact fan-out targets (xrefs, UniProt, Europe PMC, QuickGO), which tells an agent this is an aggregate/overview tool rather than one of the single-source siblings like locus_literature or locus_go_annotations. 'One-call equivalent' also frames it as a rollup, distinguishing it structurally from the atomic tools.

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?

'One-call equivalent of the analyze_locus prompt' implies the use case (want everything at once) but never states when to prefer this over the individual sibling calls, nor when to avoid it (e.g., when only one data domain is needed). No prerequisites or exclusions are given, so the agent must infer the tradeoff between breadth and granularity.

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