Skip to main content
Glama

aiworkhub_agent_accept_preview

Read-only

Preview cheap accept blockers for a worker request before materializing the combined tree or paying for validations; this read-only check reports missing lenses, review readiness, or approvals.

Instructions

READ-ONLY: what would block aiworkhub_agent_accept_review right now, before any work.

Use this for the cheap accept blockers of one candidate; use aiworkhub_review_packet for that candidate's full review evidence.

Measured 2026-09-08: 49 of 159 accept attempts (31%) failed on a blocker that was knowable in advance -- a required lens still running, a target not yet review_ready, an approval not given -- but only after the combined tree had been materialized and two validation runs paid for. This folds exactly those cheap blockers and writes nothing.

A clear preview is NOT an acceptance and NOT a promise of one. The expensive half -- combined tree, declared validations, mechanical gate, reviewer receipt verification by request id -- runs only in aiworkhub_agent_accept_review and can still refuse. blocked False means only that nothing cheap is refusing yet. Leave requested_risk_tier unset to read the tier the finalizer measured; an explicit value can only raise it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aiworkhub_agent_accept_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoId of the task card that request belongs to; required.
request_idNoId of the worker request to accept; it must be in review_ready state. Omit to resolve the card's current review request from task_id (the reply's request_id_source says which).
confirm_high_riskNoSet true to give the explicit human approval that high or critical risk tiers require; default false.
manager_correctionNoThe same correction object aiworkhub_agent_accept_review takes; validated read-only and reported under manager_correction (ok, error naming accept's exact refusal); omit for an unchanged preview.
requested_risk_tierNoRisk tier to review at; omit to use the tier the finalizer measured for this candidate. An explicit value can only raise the tier, never lower it.
reviewer_request_idsNoReviewer request ids to verify; omit to use every verified reviewer bound to this request and task, and pass [] to exclude all reviewers.
confirm_destructive_changeNoSet true to accept a candidate whose diff failed a destructive-change check; otherwise accept is refused with destructive_diff_requires_manager_confirmation. Default false.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.13.28
    • addedInput schema / properties / manager_correction
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The same correction object aiworkhub_agent_accept_review takes; validated read-only and reported under manager_correction (ok, error naming accept's exact refusal); omit for an unchanged preview.",
      +  "title": "Manager Correction"
      +}
  2. Changed5 schema fields changedv0.12.87
    • addedInput schema / properties / request_id / default
      Added value: +""
    • changedInput schema / properties / request_id / description
      Previous value: -"Id of the worker request to accept; it must be in review_ready state."New value: +"Id of the worker request to accept; it must be in review_ready state. Omit to resolve the card's current review request from task_id (the reply's request_id_source says which)."
    • addedInput schema / properties / task_id / default
      Added value: +""
    • changedInput schema / properties / task_id / description
      Previous value: -"Id of the task card that request belongs to."New value: +"Id of the task card that request belongs to; required."
    • removedInput schema / required
      Removed value: -[
      -  "request_id",
      -  "task_id"
      -]
  3. Changed6 schema fields changedv0.12.67
    • addedInput schema / properties / confirm_destructive_change / description
      Added value: +"Set true to accept a candidate whose diff failed a destructive-change check; otherwise accept is refused with destructive_diff_requires_manager_confirmation. Default false."
    • addedInput schema / properties / confirm_high_risk / description
      Added value: +"Set true to give the explicit human approval that high or critical risk tiers require; default false."
    • addedInput schema / properties / request_id / description
      Added value: +"Id of the worker request to accept; it must be in review_ready state."
    • addedInput schema / properties / requested_risk_tier / description
      Added value: +"Risk tier to review at; omit to use the tier the finalizer measured for this candidate. An explicit value can only raise the tier, never lower it."
    • addedInput schema / properties / reviewer_request_ids / description
      Added value: +"Reviewer request ids to verify; omit to use every verified reviewer bound to this request and task, and pass [] to exclude all reviewers."
    • addedInput schema / properties / task_id / description
      Added value: +"Id of the task card that request belongs to."
  4. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and the description corroborates rather than contradicts it, adding that the tool "writes nothing" and folds only cheap blockers. Beyond that it discloses the semantics an agent would otherwise get wrong: blocked=False means only that nothing cheap is refusing yet, an explicit requested_risk_tier can only raise the tier, and manager_correction is validated read-only and reported with accept's exact refusal.

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?

Front-loaded with the one-line purpose and the sibling routing, which is the right priority. It is longer than needed — the dated 31%-of-159 failure statistic motivates use but costs several lines, and phrasing like "the cheap accept blockers" recurs. Nothing is actively wasted, but it could be tightened without losing guidance.

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?

Given seven parameters, an output schema, and a mutation-adjacent sibling, the description covers the gaps that matter: what a false blocked value does and does not promise, which half of the work this tool skips, and how risk tier and corrections are interpreted. Return values are left to the output schema, appropriately.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it for requested_risk_tier (leave unset to read the finalizer's measured tier; an explicit value can only raise it) and frames manager_correction as the same object accept_review takes. Other parameters are only echoed from the schema, so it is not a full 5.

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?

Opens with a specific verb-plus-resource framing: a READ-ONLY preview of what would block aiworkhub_agent_accept_review right now, before any work. It immediately distinguishes itself from aiworkhub_review_packet (full review evidence) and from accept_review (the expensive half), so an agent can pick it without opening a schema.

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 routes: use this for the cheap accept blockers of one candidate, use aiworkhub_review_packet for full review evidence, and the expensive validations run only in aiworkhub_agent_accept_review. It also states the key boundary condition — a clear preview is not an acceptance and not a promise of one — which is exactly the misuse an agent would otherwise make.

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

Deploy Server

Other Tools