Skip to main content
Glama

AIProcurement.club — Procurement Agents

Supplier risk review → negotiation preparation

procurement_workflow__supplier_risk_to_negotiation
DestructiveIdempotent

Review buyer-supplied supplier evidence for risk and freshness gaps, then prepare negotiation actions using the generated review as context. Confirm every risk against its original evidence. Fixed sequence: risk (supplier-risk, $15) → negotiation (negotiation, $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__supplier_risk_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": [
      +      "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

A4.3/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses the billing model that the annotations cannot: per-stage $15 charges, separate invoices per stage, non-atomic execution where completed stages stay consumed if a later stage fails, and no automatic transfer of funds. It also instructs verification of every risk against original evidence, which is real behavioral guidance. It does not explain the approval-gate pause or background execution mechanics, which the schema covers instead.

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?

Front-loaded with the core action, then the sequencing, then cost/consumption caveats. Every sentence carries distinct information — scope, verification rule, stage order and price, billing semantics — with no filler or repetition of schema text.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, multi-stage, potentially long-running workflow with no output schema, the description never says what the caller receives back (artifacts, executionId, per-stage results), and it does not mention approval gating or background execution, leaving the agent to discover those from the schema. The schema and annotations carry a lot, so the definition is usable, but the return-value gap is a real omission for a tool of this complexity.

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?

With 71% schema description coverage the baseline is 3, and the description adds meaning beyond the schema by explaining the ordering of the nested 'risk' and 'negotiation' stage inputs and that the negotiation stage consumes the generated review as context — a chaining relationship the schema does not state. It says nothing about approvalGates, runInBackground, idempotencyKey, or paymentInvoiceIds, so not every parameter gains extra meaning.

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?

States a specific two-step verb+resource chain: review buyer-supplied supplier evidence for risk and freshness gaps, then prepare negotiation actions. The fixed sequence 'risk (supplier-risk, $15) → negotiation (negotiation, $15)' makes it distinguishable from siblings like knowledge_to_negotiation or rfp_to_bid_review without opening either schema.

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?

The description scopes usage implicitly by specifying 'buyer-supplied supplier evidence' as the input and a fixed two-stage sequence, so an agent knows this recipe fits a supplier-risk-then-negotiation scenario. It stops short of explicitly excluding alternatives (e.g., when to prefer knowledge_to_negotiation), so it is clear context rather than a full when/when-not statement.

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