Skip to main content
Glama

AIProcurement.club — Procurement Agents

Contract renewal → business case → negotiation

procurement_workflow__renewal_to_negotiation
DestructiveIdempotent

Find upcoming renewal and notice dates in a supplied contract index, compare buyer-provided costs, then prepare a negotiation plan. Dates and recommendations from earlier agents are generated context and must be checked against the original contracts. Fixed sequence: renewals (xrenew-radar, $15) → finance (finance-business-case, $15) → negotiation (xnegotiate-coach, $15). Separate invoices per stage; completed stages remain consumed if a later stage fails. No atomic bundle charge or automatic transfer.

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": {
      "stageInputs": "<stageInputs>",
      "consentExternalProcessing": "<consentExternalProcessing>",
      "maxChargeUsd": "<maxChargeUsd>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "procurement_workflow__renewal_to_negotiation"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageInputsYes
maxChargeUsdYesMaximum charge authorized across the recipe. Direct prepaid stages need their own supplied invoices; enabled native marketplace billing requires verified platform authorization.
approvalGatesNoPause before these paid stages until the buyer approves with procurement_workflow_execution__approve. Implies runInBackground.
idempotencyKeyYesStable caller key for exactly one logical workflow request.
runInBackgroundNoReturn an executionId at once and run the stages on the server; poll procurement_workflow_execution__get. Use for any chain that may outlast your tool-call timeout.
paymentInvoiceIdsNo
consentExternalProcessingYesRequired: authorize external processing for this workflow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / approvalGates
      Added value: +{
      +  "description": "Pause before these paid stages until the buyer approves with procurement_workflow_execution__approve. Implies runInBackground.",
      +  "items": {
      +    "enum": [
      +      "finance",
      +      "negotiation"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / runInBackground
      Added value: +{
      +  "description": "Return an executionId at once and run the stages on the server; poll procurement_workflow_execution__get. Use for any chain that may outlast your tool-call timeout.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / maxChargeUsd / description
      Previous value: -"Maximum charge authorized across the recipe; each paid stage still requires its own supplied invoice."New value: +"Maximum charge authorized across the recipe. Direct prepaid stages need their own supplied invoices; enabled native marketplace billing requires verified platform authorization."
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is largely covered. The description nonetheless adds substantive behavior the annotations do not: a fixed three-stage order, $15 per stage, separate invoices per stage, completed stages staying consumed when a later stage fails, and no atomic bundle charge or automatic transfer. What it omits is how execution results are retrieved, how approval pauses behave in practice, and what happens if the run is cancelled.

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?

Purpose is front-loaded in the first sentence, followed by the data-integrity caveat and then the cost/sequence mechanics; no filler sentences. The pricing detail is repeated slightly (in the sequence sentence and again as 'No atomic bundle charge'), which keeps it just short of maximal tightness.

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?

This is a high-complexity, paid, multi-stage workflow with nested required objects, an outward-facing side effect and no output schema, so the description carries real weight. It never explains what each stage returns, how the agent should poll or cancel a background run, or how approval gates interrupt the chain, leaving the agent to infer call lifecycle from sibling tools and schema fields alone.

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 description coverage is 71%, so the baseline is 3, but the description earns an extra point by explaining the structure the nested stageInputs object encodes (renewals → finance → negotiation), the per-stage $15 cost that governs maxChargeUsd, and the separate-invoice rule that explains paymentInvoiceIds. It still says nothing about idempotencyKey semantics, the consentExternalProcessing requirement, or the approvalGates/runInBackground interplay.

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 states a concrete three-step verb chain – find renewal/notice dates in a supplied contract index, compare buyer-provided costs, prepare a negotiation plan – and names the exact sub-agents (xrenew-radar, finance-business-case, xnegotiate-coach) that execute each step. The input source ('a supplied contract index') is specific enough to separate it from sibling pipelines that start from knowledge, meetings, supplier risk or RFPs.

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 clear operating context: the stages are a fixed sequence with per-stage prices, and earlier-agent dates/recommendations 'must be checked against the original contracts'. What is absent is explicit routing guidance telling the agent when to pick this over sibling pipelines such as procurement_workflow__rfp_to_bid_review or procurement_workflow__knowledge_to_negotiation.

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