Skip to main content
Glama

Synthex Forge — x402 Paid Agent Services

Commit Treasury Spend

commit_treasury_spend
Destructive

Settle a reservation by proving the payment on the PAYMENT RAIL. use it rather than authorize_treasury_spend for treasury spend specifically; an object with 3 fields including exception, field. $0.25 USDC.

Input Schema

NameRequiredDescriptionDefault
txn_idNoThe txn id this operation operates on. See the schema for its type and whether it is required.
requestIdNoA caller-supplied idempotency key. The same key returns the same result instead of charging twice.
payment_refNoThe payment reference the operation concerns.

Output Schema

NameRequiredDescriptionDefault
fieldNoThe `field` field of the response.
exceptionNoThe `exception` field of the response.
request_idNoThe `request_id` field of the response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / exception
      Added value: +{
      +  "description": "The `exception` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / field
      Added value: +{
      +  "description": "The `field` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / request_id
      Added value: +{
      +  "description": "The `request_id` field of the response.",
      +  "type": "object"
      +}
    • removedOutput schema / properties / status
      Removed value: -{
      -  "type": "string"
      -}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, readOnlyHint=false. The description adds non-obvious context the annotations lack: the operation costs $0.25 USDC and requires proving the payment on the PAYMENT RAIL. That is genuine value beyond structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two useful clauses up front, but the final sentence is a garbled fragment that leaks output-shape detail and doesn't parse cleanly, wasting space and adding confusion.

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?

An output schema exists, so return values needn't be explained, and annotations cover the safety profile. However, for a destructive, non-idempotent settlement with a cost, the description provides only partial context and includes a broken trailing clause instead of clarifying preconditions or effects.

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%, so all three parameters (txn_id, requestId, payment_ref) are documented in the schema. The description adds no parameter meaning; the 'object with 3 fields including exception, field' clause refers to the response, not inputs, and is incoherent.

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 and resource ('Settle a reservation by proving the payment on the PAYMENT RAIL') and names the sibling it is not (authorize_treasury_spend). The trailing fragment 'an object with 3 fields including exception, field' is malformed and muddies the statement, but the core purpose is identifiable.

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?

Explicitly routes the agent: use this rather than authorize_treasury_spend for treasury spend specifically. That is a clear alternative selection rule, though it doesn't spell out preconditions for the payment-rail proof.

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.