Skip to main content
Glama
BrightbeamAI

@brightbeamai/chap-coordinator-mcp

Official

chap.review.depth

chap.review.depth

Determine the required review depth for a task—skip, spot-check, or full—by evaluating routing hints like confidence and criticality, then record the decision and its governing rule.

Instructions

Decide how much review a task warrants, skip, spot_check or full, from its routing hints. Records a route_decision artefact giving the rule that produced the answer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesParticipant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'.
task_idYesTask identifier returned by chap.task.create.
workspaceYesWorkspace identifier, e.g. 'wsp_techcorp_support'.
artefact_routing_hintsNoPer-artefact signals such as confidence, model_id and cost_consumed_usd, merged over the task's routing_hints for this call. The default policy reads criticality and confidence. If the merged set is empty the call is refused with -32514. Fractional values are written as decimal strings, e.g. "confidence": "0.86".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.13

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does useful work: it discloses an output choice set (skip/spot_check/full), a side effect (recording a route_decision artefact), and that the answer is rule-derived. The schema property additionally covers the refusal condition and decimal-string convention, so behavior is not opaque.

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 sentences, front-loaded with the action and decision outcomes, then the artefact side effect. No filler or repetition of schema details.

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?

The combination of description and schema covers purpose, decision inputs, optional hints object, error on empty hints, and the recording side effect. The main minor gap is the lack of an explicit return/response shape, though no output schema exists.

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 four parameters and the artefact_routing_hints object in detail. The tool description does not add parameter-level information beyond mentioning routing hints, so 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 ('Decide'), a concrete resource (review depth for a task), and the three possible outcomes (skip, spot_check, full), with the input signal (routing hints). This clearly separates it from siblings such as chap.review.request or chap.decide.approve/reject, which perform different review lifecycle actions.

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 phrase 'Decide how much review a task warrants' gives clear context for when to call it, and 'from its routing hints' tells the agent what data drives the decision. It does not explicitly name alternatives or state when not to use it, but the purpose is distinctive enough among the siblings.

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