Skip to main content
Glama

Decide workflow approval

decide_workflow_approval
Destructive

Approve or reject a pipeline approval step that is waiting for a decision.

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": {
      "execution_id": "<execution_id>",
      "step_id": "<step_id>",
      "decision": "<decision>"
    },
    "name": "decide_workflow_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
step_idYes
decisionYes
execution_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already flag this as non-read-only, non-idempotent and destructive, so the bar is lowered, but the description adds almost nothing beyond restating the decision action. It never explains the consequence of rejecting (does it fail or halt the pipeline?), whether a decision is final and cannot be revisited, or that the note is persisted as part of the audit trail.

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 no filler, and the key precondition is placed where the reader sees it first. Its brevity is the problem elsewhere, not verbosity here.

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?

An output schema exists, so return values need not be described, but for a destructive, non-idempotent mutation with four undocumented parameters, the definition is too thin. An agent lacks the context needed to decide safely between approve and reject or to know what the identifiers refer to.

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% across four parameters, so the description carries the full burden and fails it: execution_id, step_id, and note are never mentioned, and decision is only implied by the verb. The only hint is the approve/reject framing, which duplicates the enum already visible in the schema.

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 or reject) applied to a clearly named resource ('pipeline approval step'), which is easily separable from siblings like get_workflow_execution or run_workflow. It stops short of naming any sibling, but the resource scope is unambiguous.

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?

'that is waiting for a decision' implies a precondition (the step must be pending), which is useful. However, there is no guidance on when to reject versus approve, no mention of prerequisites such as permissions or ownership, and no named alternative for inspecting the step before deciding.

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