Skip to main content
Glama

promote-to-phase-2

Promotes a product from Phase 1 discovery to Phase 2 execution by verifying robot freshness, requesting PM confirmation, and writing phase 2 context to unlock execution robots.

Instructions

Promote a product from Phase 1 (strategic discovery) to Phase 2 (execution definition).

TWO-CALL PATTERN — promotion requires explicit PM confirmation:

CALL 1 — Review (omit 'confirm'):

  1. Verifies all 7 Phase 1 robots are fresh (gate check).

  2. Loads Phase 1 robot output files and extracts one-line summaries per robot.

  3. Surfaces persona, feature, and competitor candidates for PM review.

  4. Writes a pending-promotion.json with a confirmationToken (14-day expiry).

  5. Returns requiresConfirmation: true — present the summaries to the PM and ask them to confirm.

CALL 2 — Confirm (confirm: true + confirmationToken):

  1. Verifies the token is valid and not expired.

  2. Writes context/phase2-context.json with any PM-supplied overrides.

  3. Deletes pending-promotion.json (token is single-use).

  4. Returns { promoted: true } — Phase 2 robots are now unlocked.

Override fields accepted only on Call 2: personaOverride, featureOverride, scopeOverride, ownerName, ownerRole, ownerEmail, linkJira, linkTdd, linkFigma, linkConfluence.

Do NOT call run-robot with any Phase 2 robot (user-stories, scope-spec, etc.) until this tool returns { promoted: true }.

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": {
      "productSlug": "<productSlug>"
    },
    "name": "promote-to-phase-2"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet true for Call 2 — commits the promotion
linkTddNoLink to Technical Design Doc (Call 2 only)
linkJiraNoLink to Jira project or epic (Call 2 only)
linkFigmaNoLink to Figma design file (Call 2 only)
ownerNameNoPM's full name for the PDD owner field (Call 2 only)
ownerRoleNoPM's role, e.g. 'Senior Product Manager' (Call 2 only)
ownerEmailNoPM's email for the PDD meta section (Call 2 only)
productSlugYesThe product slug to promote
scopeOverrideNoOverride the scope statement (Call 2 only)
linkConfluenceNoLink to Confluence space (Call 2 only)
featureOverrideNoOverride the primary feature set summary (Call 2 only)
personaOverrideNoOverride the primary persona name (Call 2 only)
confirmationTokenNoToken returned by Call 1 (required when confirm: true)
experimentClusterCountNoNumber of alternative solution clusters to generate (Call 2 only, default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

A4.6/5.0
Behavior5/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: it discloses the 7-robot freshness gate, that a pending-promotion.json file is written, the 14-day token expiry, token single-use, deletion on commit, and the exact return flags (requiresConfirmation, promoted). Side effects, prerequisites, and reversibility-adjacent details are all surfaced.

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 two-call structure is front-loaded and numbered, and the final guard sentence lands where an agent will see it. The override-field list consumes lines that mostly duplicate schema descriptions, which is the only real redundancy in an otherwise efficient description.

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 14-parameter mutation tool with no output schema, the description fills the gaps: it explains both return states, the ordering constraint between calls, and what is written/deleted at commit. Nothing essential for a correct two-step invocation is missing.

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 coverage is 100% and most parameters already carry '(Call 2 only)' descriptions, so the description's grouping of override fields largely restates the schema rather than adding new meaning. It does usefully tie confirmationToken and confirm together as a single commit pair, but experimentClusterCount and the override fields' effect are not elaborated beyond what the schema states.

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 specific verb and resource with an explicit state transition: 'Promote a product from Phase 1 (strategic discovery) to Phase 2 (execution definition).' This is clearly distinguishable from siblings like run-robot or product-status, since it names the gate it unlocks and the robots it governs.

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?

It gives an explicit two-call protocol with the exact condition selecting each call (omit 'confirm' vs. 'confirm: true + confirmationToken'), plus a hard exclusion: 'Do NOT call run-robot with any Phase 2 robot ... until this tool returns { promoted: true }.' Both when-to-use and when-not-to-use are stated, not implied.

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