Skip to main content
Glama

AI Blocks

Move an outcome engagement forward

advance_outcome
Read-onlyIdempotent

Apply one event to an engagement. Before the run: brief (the pinned-down outcome), plan (research and the composed plan, checked against our rules and the live catalogue), approve_plan (owner only). During the run: data, start, complete (with outputs and checks), approve (owner only), skip, block, reopen, next_round; a plan event during the run is a revision. autonomy (owner only) works any time. Every problem in an event comes back at once, with its field path.

Input Schema

NameRequiredDescriptionDefault
eventYesOne event. type picks the fields: brief, plan (research + plan), approve_plan, data, start, complete, approve, skip, block, reopen, autonomy, next_round.
engagementYesThe complete engagement.json from the last outcome tool result, unchanged.
engagement_sha256Yesengagement_sha256 from the last outcome tool result. A different value means the engagement changed.

Output Schema

NameRequiredDescriptionDefault
schemaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations it adds real behavioral context: owner-only gating on approve_plan, approve and autonomy, the phase-based validity of each event, and that all problems in an event are returned together with their field path. It does not explain what a rejected/out-of-order event does to the engagement, but it goes beyond what readOnly/idempotent hints convey.

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 and the phase rules are compressed into two tight sentences with no filler. The telegraphic, semicolon-joined style is dense but readable; a slightly clearer separation of the phase lists would cost nothing.

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 three-parameter but deeply polymorphic schema with an output schema present, the description covers the event taxonomy and phase legality, which is the main thing an agent must get right. It leaves payload-level requirements to the schema, which is appropriate, and omits only error/rollback behavior.

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 the schema already documents engagement, engagement_sha256 and the oneOf event union in detail, so the baseline applies. The description mostly restates the event-type list rather than adding field-level meaning for the nested brief/plan payloads.

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 first sentence gives a concrete verb+resource: 'Apply one event to an engagement', and the rest enumerates the event vocabulary (brief, plan, approve_plan, data, start, complete, approve, skip, block, reopen, next_round). It never names a sibling, so the boundary with start_outcome (which clearly also covers engagement initiation) and record_outcome_decision is left for the agent to infer.

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

Usage Guidelines4/5

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

It specifies which events belong to which phase ('Before the run: brief ... plan ... approve_plan', 'During the run: ...'), notes that a plan event mid-run is a revision, and that autonomy is valid any time. That is genuine when-to-use routing per event type, though it says nothing about when not to call this tool or which sibling to use instead.

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