Skip to main content
Glama

Approve or reject a workflow

rigor_approve
DestructiveIdempotent

Approve or reject a Rigor workflow that is blocked at pending_approval status. For governance_change workflows that require human approval. Call this only when the person has stated their approve or reject decision in this conversation; never decide it yourself. After approval, call rigor_resume to continue execution.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workflow_id": "<workflow_id>",
      "decision": "<decision>"
    },
    "name": "rigor_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoOptional notes explaining the decision
decisionYesApproval decision
workflow_idYesThe workflow_id to approve or reject (e.g., wr_xxx)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so safety is covered structurally; the description adds the meaningful behavioral constraint that a human decision must exist first and that execution continues via rigor_resume. It stops short of saying what rejection does to the workflow (terminate vs. park) or whether the action is reversible, which is the remaining gap for a destructive, idempotent mutation.

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?

Three short sentences, front-loaded with the action and precondition, then the human-authorization guardrail, then the next step. No filler wording, though the middle sentence repeats the approval context already implied by the first.

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?

For a three-parameter, no-output-schema mutation, the description covers trigger state, authorization requirement, and the follow-up call, which is nearly everything needed. The only omission is the post-rejection consequence of the workflow.

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% and all three parameters are documented in the schema, including the approved/rejected enum, so the schema carries the parameter burden. The description only implicitly reinforces the decision parameter through 'their approve or reject decision' and adds no new semantics for workflow_id or notes; 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?

The description opens with a specific verb pair and resource ('Approve or reject a Rigor workflow') and narrows scope with a state precondition ('blocked at pending_approval status'). It also names the follow-up sibling rigor_resume, so an agent can place it in the workflow without opening other schemas.

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?

Explicit gating conditions are given: only for governance_change workflows requiring human approval, and only when the person has stated a decision in this conversation ('never decide it yourself'). It also states the post-call action ('call rigor_resume to continue execution'), which is the key routing guidance an agent needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources