Skip to main content
Glama

AIProcurement.club — Procurement Agents

Approve the next workflow stage

procurement_workflow_execution__approve
DestructiveIdempotent

Let a paused background workflow continue into its next paid stage. Only the stage it is waiting on can be approved. Ask the buyer before approving: this resumes paid work. Requires agent:invoke.

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": {
      "executionId": "<executionId>",
      "stageId": "<stageId>"
    },
    "name": "procurement_workflow_execution__approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageIdYesThe stage named in approvalNeeded.
executionIdYesThe executionId a background workflow returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds materially beyond them: approval releases paid work, only the exact pending stage can be approved, and a human buyer must be consulted first. The financial consequence and the permission scope are precisely the facts an agent cannot derive from the schema or annotations.

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?

Four short sentences, each carrying a distinct payload: what it does, the eligibility constraint, the human-confirmation warning, and the required scope. The consequence-bearing warning is placed prominently and nothing is redundant.

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 no-output-schema mutation with financial side effects, it covers eligibility, authorization, and the human-in-the-loop requirement well. Return behavior after approval and failure modes (e.g. wrong or stale stageId) are not described, which is a minor remaining gap given the annotations.

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% and both params carry useful descriptions ('The stage named in approvalNeeded', 'The executionId a background workflow returned'), so the baseline is 3. The description adds meaning beyond format by constraining stageId to the single stage the workflow is currently waiting on, which changes how an agent should source that value.

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?

The description gives a concrete verb-and-resource: approving a paused background workflow execution so it advances to its next paid stage, plus the scoping rule that only the awaited stage qualifies. That is unambiguous on its own, but it never names or contrasts with siblings like procurement_workflow_execution__cancel or __get, so an agent must infer when this is the right call versus those.

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?

It states a real precondition ('Ask the buyer before approving') and the required authorization scope ('Requires agent:invoke'), which is exactly the context an agent needs before invoking. It stops short of explicit exclusions or pointing at alternatives such as cancel for the abandonment case, so it is clear context without full routing guidance.

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