Skip to main content
Glama

Distal Pathways

analyze_deg_perturbation

Run deterministic DistalReactionGNN v0.1 ONNX inference over 16,422 curated human Reactome reactions given a mapping of gene identifiers to signed statistics (t-stats, z-scores, or signed -log10(p)*log2FC). Returns top ranked reactions (up to 100), cascade edges between them, empirical Benjamini-Hochberg FDRs from 3 gene-label permutations, driver genes, PMIDs, and TCGA disease twins.

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": {
      "gene_stats": "<gene_stats>"
    },
    "name": "analyze_deg_perturbation"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoNumber of top perturbed reactions to return
gene_statsYesMapping of gene identifier -> signed differential expression statistic

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses determinism, model version, universe size (16,422 reactions), FDR methodology (empirical BH from 3 gene-label permutations), and output cap of 100. It omits operational traits such as runtime/cost and how unmapped or unknown gene identifiers are handled.

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 primary action and scoped by a concrete resource, followed by an output inventory. The second sentence is a dense enumeration of returns, which is justified given the absence of an output schema.

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

Completeness3/5

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

Coverage is good for a complex ML-inference tool: inputs, statistic formats, and return contents are all described despite no output schema. The missing pieces are the gene identifier namespace and error/precondition behavior, which matter for correct invocation of a model that expects a specific ID mapping.

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, but the description adds genuine meaning by naming acceptable statistic types (t-stats, z-scores, signed -log10(p)*log2FC), which the schema only calls a 'signed differential expression statistic'. It does not clarify the gene identifier namespace, leaving one ambiguity unresolved.

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?

States a specific verb (run inference) and a well-defined resource (DistalReactionGNN over 16,422 Reactome reactions), so the agent knows exactly what the tool computes. It does not explicitly differentiate itself from lookup_reaction or trace_gene_reactions, but the analytical framing makes the distinction reasonably obvious.

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?

Usage is only implied: an agent can infer it should be used when it has signed differential-expression statistics and wants ranked perturbed reactions. There is no explicit when-to-use vs when-not guidance, no prerequisites (e.g., supported gene ID namespace), and no routing to the lookup/trace siblings.

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.

Resources