Skip to main content
Glama

AIProcurement.club — Procurement Agents

Get background workflow status

procurement_workflow_execution__get
Read-onlyIdempotent

Read a background workflow: its status, the stage waiting for approval and each stage run ID. While queued or running, wait pollAfterSeconds before reading again. Read stage results with procurement_artifact__get. Requires agent:read; returns no buyer text.

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>"
    },
    "name": "procurement_workflow_execution__get"
  }
}

Input Schema

NameRequiredDescriptionDefault
executionIdYesThe executionId a background workflow returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered; the description adds value beyond that with the polling contract, the agent:read permission requirement, and the caveat that no buyer text is returned. The only missing behavior for a read-only poll tool is what happens for an expired or unknown executionId.

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 clauses, front-loaded with purpose, then polling behavior, then the sibling handoff, then the auth/return caveat. Nothing is redundant and no sentence could be dropped without losing information an agent needs.

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 one-parameter, no-output-schema read tool, the definition covers what is returned, polling semantics, permissions, and the downstream tool for artifacts. It is nearly complete; only error/expiry behavior is unaddressed, which is minor at this complexity.

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 the single executionId is already documented with its pattern and origin, so the schema carries the parameter burden. The description adds no format, sourcing, or validation detail beyond what the schema states, which puts it at the baseline 3.

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 pairs a specific verb ('Read') with a specific resource ('a background workflow') and enumerates exactly what comes back: status, the stage awaiting approval, and each stage run ID. That field-level enumeration distinguishes it from sibling workflow tools such as procurement_run__get without needing to name them.

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 gives actionable context for the queued/running case (wait pollAfterSeconds before re-reading) and routes to procurement_artifact__get for stage results, which is a real alternative for a related need. It stops short of explicit when-not-to-use guidance or preconditions for calling it outside a polling loop.

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