Skip to main content
Glama
BrightbeamAI

@brightbeamai/chap-coordinator-mcp

Official

chap.decide.approve

chap.decide.approve

Approve an artefact under review to complete the task when the review rule is satisfied. Optionally bind approval to the exact content digest for audit accuracy.

Instructions

Approve the artefact under review. The task completes once the review's rule is satisfied.

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

A3.7/5.0
Behavior3/5

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

No annotations are present, so the description must carry behavioral disclosure. It reveals a key side effect – the task completes on approval – but does not disclose audit recording, irreversibility, state prerequisites, or failure behavior beyond what parameter descriptions already state.

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?

Two short sentences, front-loaded with the verb and object, with no filler or repetition. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is serviceable for a straightforward decision action but leaves gaps: no output schema, no mention of required prior state (e.g., an active review request or task), and no return or error behavior beyond the digest mismatch note in the schema. Enough for simple invocation, not for nuanced use.

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 schema already documents all six parameters with types and guidance. The description adds no parameter-level meaning beyond what the schema provides, so the baseline 3 is appropriate.

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 action (approve) and resource (the artefact under review), and clarifies a distinguishing consequence (task completes when rule satisfied). This differentiates it from siblings like chap.decide.reject or chap.decide.override by the action verb itself, even though those siblings are not named.

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

Usage Guidelines3/5

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

The second sentence implies the primary use case: call this when the review's rule has been satisfied. It gives no explicit guidance on when not to use it or which sibling tool (e.g., chap.decide.reject) is appropriate when the rule is not satisfied.

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