Skip to main content
Glama
BrightbeamAI

@brightbeamai/chap-coordinator-mcp

Official

chap.task.complete

chap.task.complete

Submit a task's final output. Tasks requiring review are held for approval; others complete immediately.

Instructions

Submit a task's output. A task that requires review does not complete: the output is held as the artefact under review, the task moves to review_requested, and a reviewer decision completes it. Any other task completes immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesParticipant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'.
outputNoThe task's output artefact. Pass a JSON object or array. A JSON-encoded string is parsed back to the structured value before dispatch, so patches in chap.decide.override apply against a real object.
task_idYesTask identifier returned by chap.task.create.
workspaceYesWorkspace identifier, e.g. 'wsp_techcorp_support'.
confidenceNoSelf-reported confidence in the output, between 0 and 1. Written as a decimal string, e.g. "0.86". CHAP canonicalisation accepts integers only, so a JSON number with a fractional part is refused with -32602.
routing_hintsNoSignals recorded on the task and read by the routing/1.0 methods: task.route, review.depth and escalate.auto. Recording a hint has no effect on its own; it is consulted only when one of those methods is called.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.13

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses non-obvious state transitions: the output is held as the artefact under review, the task moves to review_requested, and a reviewer decision is what completes it. This is precise, actionable behavioral information rather than a vague 'submits output' statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two compact sentences that front-load the core action and then clarify the important review-related exception. There is no filler, redundancy, or repetition of schema information.

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?

The schema fully documents all six parameters and required fields, while the description covers the conditional completion behavior and review path. An agent has enough information to select and invoke the tool correctly; the lack of an output schema is not a blocking gap because the description focuses on the state change, which is the key outcome.

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 description coverage is 100%, so the baseline of 3 applies. The tool description itself does not add parameter-level meaning; all parameter semantics are carried by the rich input schema, which already explains output parsing, confidence formatting, and routing hints.

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: 'Submit a task's output.' It also clearly distinguishes the tool from the review/decision workflow by explaining that review-required tasks are not completed by this call, setting it apart from siblings like chap.task.create, chap.task.update, and chap.decide.approve/reject.

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?

The description gives a clear conditional: tasks requiring review are held as the artefact under review, move to review_requested, and are only completed by a reviewer decision; any other task completes immediately. This strongly implies when to use the tool, though it does not explicitly name the alternative decision tools such as chap.decide.approve or chap.decide.reject.

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