Skip to main content
Glama

workflow_approve

Approve (or reject, approve=false) a wait node of kind approval that is waiting in this run.

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>",
      "run_id": "<run_id>",
      "node_id": "<node_id>"
    },
    "name": "workflow_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
approveNo
node_idYes
workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the mutation and the dual approve/reject mode plus the state precondition, but says nothing about required permissions, whether rejecting cancels the whole run, or whether the action is reversible.

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?

A single front-loaded sentence with an efficient parenthetical explaining the boolean's inverse mode. Minor redundancy in 'wait node ... that is waiting' is the only wasted wording.

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

Completeness2/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 annotations, no output schema, and zero parameter documentation, the definition leaves too much out: what approval actually does to the run, what the identifiers must reference, and what the caller gets back. It is barely above the minimum for a four-parameter write operation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, yet it only explains the 'approve' boolean (and its false-means-reject semantics, which the schema does not state). The three required identifier parameters — workflow_id, run_id, node_id — receive no explanation of expected format or relationship to the waiting node.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (approve/reject) and a precise target: a wait node of kind 'approval' that is waiting in this run. That is enough to distinguish it from generic run tools like workflow_run or workflow_run_cancel, though the domain jargon 'wait node of kind approval' assumes familiarity.

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?

Implies the precondition that the node must currently be waiting in the given run, which is useful selection guidance. However, it names no alternatives and gives no exclusion such as what to do if the node is not in a waiting state or how this differs from workflow_run_wait.

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