Skip to main content
Glama

run-robot

Run a single product-analysis robot (market research, personas, financials, roadmap) and return its results so a PM can review and give feedback before proceeding to the next one.

Instructions

Run a SINGLE analysis robot and return its results. Call one robot at a time so the PM can review and give feedback before proceeding.

Available robots — Phase 1 (strategic discovery, run first):

  1. scout — Market demand (TAM/SAM/SOM, growth signals, demand validation)

  2. detective — Competitive landscape (competitors, gaps, differentiators, moat)

  3. people — User personas (segments, pain points, behaviors, jobs-to-be-done)

  4. money — Financial model (unit economics, CAC/LTV/ARR/NRR/GRR, 3-scenario projections, Vega-Lite charts)

  5. feature — Feature breakdown (MoSCoW-tagged, must-have vs nice-to-have vs future)

  6. plan — Product roadmap (phased 12-18 month plan with milestones)

  7. priority — Feature prioritization (RICE scoring, effort vs impact)

Available robots — Phase 2 (execution definition — all 7 Phase 1 robots must be fresh first): 8. user-stories — MoSCoW-tagged user stories derived from people + feature outputs 9. scope-spec — Scope, assumptions, constraints, and critical-change flag 10. feasibility-tech — Architecture, technical concerns, third-party vendors, infrastructure deps 11. feasibility-design — Design principles, wireflow (screen-by-screen), accessibility commitments 12. customer-journeys — End-to-end journey narratives per persona with step-by-step flows 13. data-privacy — InfoSec, legal, and certification impact matrix (GDPR, SOC 2, etc.) 14. gtm-readiness — CX stage matrix, rollout waves, Preview → GA criteria, pricing model 15. risks-registry — Structured risk register across 5 risk categories with mitigations 16. kpis — Adoption, retention, usage, and revenue KPIs with targets + source systems 17. daci-stakeholders — DACI table + key contacts (persists across runs, updates incrementally)

Phase 2 prerequisite: call 'promote-to-phase-2' and receive { promoted: true } before running any Phase 2 robot.

If 'productSlug' is provided:

  • Results are persisted to the product's assets/ folder as markdown.

  • On subsequent calls, fresh results are reused automatically (see freshness windows).

  • Pass 'forceRerun: true' to re-run and overwrite a still-fresh result.

RICH OUTPUT RULE: When generating your analysis, use rich HTML with inline styles for visual elements:

  • Persona cards with avatar circles, colored badges, styled blockquotes

  • Journey maps as horizontal card flows with colored stage headers

  • Data tables with styled headers and alternating row colors

  • Chart.js canvas+script blocks for charts — ALWAYS inside a ```html fence

  • Mermaid diagrams in ```mermaid fences

  • Vega-Lite chart specs in plain json fences (rendered as live charts in the saved HTML) Wrap EVERY multi-line HTML block and EVERY <script> block in a html fence — bare multi-line HTML breaks the saved file. When you later call 'save-robot-output', pass this EXACT rich content — do NOT flatten to plain markdown.

VERDICT BLOCK RULE: scout, detective, people, money, and synthesizer end their output with a machine-readable

of the output — the Synthesizer and PDD composer parse it as data.

IMPORTANT: After showing the user this robot's output, ask them to rate it 1-5 and suggest improvements. Then call the 'feedback' tool before running the next robot.

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": {
      "robotName": "<robotName>",
      "enrichedContext": "<enrichedContext>"
    },
    "name": "run-robot"
  }
}

Input Schema

NameRequiredDescriptionDefault
askIdNoOptional Ask ID for scoped Ask runs. Defaults to 'core'.
epicIdNoOptional Epic ID for scoped Phase 2 runs.
featureIdNoThe ID of the Feature (optional, for specific Phase 2 scoping).
robotNameYesWhich robot to run
analysisIdNoAnalysis session ID. If not provided, a new session is created automatically.
forceRerunNoIf true, re-run the robot even if a fresh cached result exists. Only meaningful when productSlug is provided.
productSlugNoOptional product slug. If provided, results persist to the product's assets/ folder and freshness is tracked for automatic reuse.
enrichedContextYesJSON string of enriched context from user interview answers. Must include at minimum: {"productIdea": "...", "answers": {...}, "summary": "..."}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

A4.5/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and largely meets it: it discloses that productSlug causes results to be persisted to the product's assets/ folder as markdown, that fresh results are automatically reused on subsequent calls, and that forceRerun overwrites a still-fresh result. It does not state expected runtime, cost, failure modes, or what the returned result object looks like, which keeps it short of a 5 for an un-annotated tool.

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 core action is front-loaded in the first sentence and the body is cleanly segmented by headers and a numbered list, so the density is navigable. It loses a point because the RICH OUTPUT RULE and VERDICT BLOCK RULE sections occupy roughly a third of the text and govern output formatting rather than tool selection or invocation.

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 tool with 8 parameters, no annotations, and no output schema, the description covers the sequencing, prerequisites, persistence/caching semantics, and output formatting conventions an agent needs to invoke it correctly. The notable remaining gap is the absence of any statement about the return payload's shape, which an output schema would otherwise have supplied.

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 baseline is 3; the description earns above that by adding meaning to 'robotName' beyond a bare enum (each value's analytical purpose) and by clarifying the productSlug/forceRerun dependency ("Only meaningful when productSlug is provided"). It adds nothing about askId, epicId, featureId, or analysisId scoping behavior, which is why it is not a 5.

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?

"Run a SINGLE analysis robot and return its results" gives a specific verb (run), a specific resource (analysis robot), and an explicit constraint (single) that separates it from batch-style siblings. The numbered catalog of all 19 robots with one-line purposes means an agent knows exactly what each enum value produces without opening the schema.

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

Usage Guidelines5/5

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

States the sequencing rule explicitly ("Call one robot at a time so the PM can review and give feedback before proceeding"), divides robots into Phase 1 vs Phase 2 with a hard prerequisite ("all 7 Phase 1 robots must be fresh first"), names the gating tool 'promote-to-phase-2' and its expected return, and prescribes calling 'feedback' before running the next robot. When-to-use, when-not-to-proceed, and which alternatives to call first are all covered.

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