Skip to main content
Glama

Boundra — Payment Approval Gateway for AI Agents

settle_evaluation

Idempotent

Confirm that an ALLOWed payment settled. Requires the evaluation_id and the reservation_token returned by evaluate_payment, plus the real transaction/hash reference. Idempotent for the same evaluation; never call this before settlement.

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": {
      "evaluation_id": "<evaluation_id>",
      "reservation_token": "<reservation_token>",
      "settlement_ref": "<settlement_ref>"
    },
    "name": "settle_evaluation"
  }
}

Input Schema

NameRequiredDescriptionDefault
evaluation_idYesEvaluation identifier returned by an ALLOW verdict
settlement_refYesReal transaction hash or facilitator settlement reference
reservation_tokenYesPrivate reservation capability returned with the evaluation; never log or publish it

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / evaluation_id / description
      Added value: +"Evaluation identifier returned by an ALLOW verdict"
    • addedInput schema / properties / reservation_token / description
      Added value: +"Private reservation capability returned with the evaluation; never log or publish it"
    • addedInput schema / properties / settlement_ref / description
      Added value: +"Real transaction hash or facilitator settlement reference"
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and openWorldHint=false, so the 'Idempotent for the same evaluation' line reinforces rather than adds. The genuine additions are the workflow gate ('never call this before settlement') and the handling warning that the reservation token is private — neither is inferable from the 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?

Three short sentences, front-loaded with the effect, then prerequisites, then the hard prohibition. No filler and no repeated annotation boilerplate.

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

Completeness5/5

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

For a three-required-param mutation with a full output schema and full annotation coverage, the description supplies everything an agent needs to sequence the call correctly: prerequisites, the ordering constraint, and token confidentiality. Return values are legitimately left to the output schema.

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%, so the baseline is 3; the description earns a bump because it names the producing tool (evaluate_payment) for evaluation_id and reservation_token, which the schema only describes generically as 'returned by an ALLOW verdict.' It otherwise restates the schema's own definitions of settlement_ref.

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 verb and effect: confirm that an ALLOWed payment settled. The conditional 'ALLOWed' distinguishes it from evaluate_payment (which produces the verdict) and from release_evaluation, so an agent can tell what stage of the lifecycle this tool occupies without opening the 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?

Gives a clear precondition chain (must have an evaluation_id and reservation_token returned by evaluate_payment) plus an explicit exclusion: 'never call this before settlement.' What it doesn't say is what to do when the payment did not settle, i.e. whether to release the reservation — no routing for the failure branch.

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.