Skip to main content
Glama

run_deep_pipeline

Runs the 8-phase Code Brain pipeline in-process to classify tasks, load memory, retrieve docs, implement code, synthesize results, and write memory, with timeout handling and partial-state output.

Instructions

Run the 8-phase Code Brain pipeline (classify → memoryLoad → shannon → maxential → docs → codeImplement → synthesize → memoryWrite) in-process. Optional timeoutMs (default 30s); on timeout returns defined partialState shape.

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

Input Schema

NameRequiredDescriptionDefault
sessionIdNo
timeoutMsNo
userQueryNo
projectNamespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does add real value by naming the 8 phases, stating execution is in-process, giving the 30s timeout default, and noting that a timeout yields a partialState. However, it omits consequential behavior: the pipeline includes memoryWrite and codeImplement phases that presumably mutate memory and code, yet no side effects, permissions, or reversibility are described, and 'defined partialState shape' is asserted without saying what it contains.

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 operation and its phase composition, with no filler. The parenthetical phase list is long but earns its space by conveying scope and ordering.

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

Completeness2/5

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

This is a high-complexity orchestrator spanning eight phases with four undocumented parameters and no output schema, yet the description explains only one parameter and alludes to an undefined partialState shape. For a tool that likely writes memory and code as part of its run, the absence of any side-effect, cost, or failure-mode detail leaves the definition materially incomplete.

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?

Zero parameters are documented in the schema, so the description must compensate — and it only explains timeoutMs (with its 30s default). sessionId, userQuery, and projectNamespace are undocumented in both places, leaving the caller to guess whether they are required for a meaningful run.

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?

The description uses a specific verb (Run) and a specific resource (the 8-phase Code Brain pipeline), even enumerating the phases in order, so an agent knows exactly what operation this performs. It does not explicitly contrast itself with siblings such as get_phase_sequence or start_task, so the boundary between 'run the whole pipeline' and 'inspect/start tasks' is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says when a full 8-phase run is warranted versus calling individual phases or the sibling step tools. The only conditional mentioned is a timeout, which is a runtime behavior, not a selection rule.

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