Skip to main content
Glama
BrightbeamAI

@brightbeamai/chap-coordinator-mcp

Official

Approve

chap.decide.approve

Approve the artefact under review as it stands, recording an auditable decision. Only the addressed reviewer may approve, and quorum rules can keep the review open for others.

Instructions

Approve the artefact under review as it stands. Only a reviewer the review was addressed to may decide, and anyone else is refused with -32011. The task completes once the review's rule is satisfied, so under all_approve or quorum:N an approval may leave the review open awaiting others. Use chap.decide.override instead to accept a corrected version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesParticipant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'.
tagsNoWorkspace-defined labels for this decision, e.g. ['tone', 'unsupported-claim']. Recorded in the audit entry. chap.audit.read does not filter on tags, so grouping by tag is done by the reader.
commentNoThe reviewer's note on this decision. Recorded in the audit entry for the decision.
task_idYesTask identifier returned by chap.task.create.
workspaceYesWorkspace identifier, e.g. 'wsp_techcorp_support'.
approved_artefact_digestNoOptional. SHA-256 over the JCS canonicalisation of the artefact under review, in the form `sha256:<hex>`. When present it binds the decision to the exact content reviewed, and a mismatch is refused with -32074.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.13

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only carry the standard mutation flags (readOnly=false, destructive=false, idempotent=false). The description goes well beyond them, disclosing the authorization rule with its error code (-32011), the quorum-dependent completion semantics (approval may leave the review open under all_approve or quorum:N), and the schema adds the digest-mismatch refusal (-32074).

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?

Three sentences, front-loaded with the core action, then authorization, then completion semantics and the alternative. No filler; every clause carries operational 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?

For a mutation tool with no output schema, the description supplies what annotations cannot: caller eligibility, error codes, and the interaction between this decision and the review's rule. An agent has everything needed to invoke it correctly or route elsewhere.

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 all six parameters are documented in the schema itself (from, tags, comment, task_id, workspace, approved_artefact_digest, including the SHA-256 pattern and its binding/refusal behavior). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb (approve) and resource (the artefact under review), and pins the scope with 'as it stands', which distinguishes it from chap.decide.override (corrected version) and chap.decide.reject in the sibling list.

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?

Explicitly names who may call it (only the addressed reviewer, others refused with -32011) and names the alternative for the adjacent case ('Use chap.decide.override instead to accept a corrected version'). The when-to-use condition is fully spelled out.

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