Skip to main content
Glama
This connector has been deprecated

This connector has been replaced by xrpl-referee.

Challenge Escrow Verdict

challenge_escrow_verdict

Submit a challenge against a PASS verdict during the challenge window.

Two-step process:

  1. Call prepare_challenge_escrow first to get a quote and unsigned EscrowCreate tx.

  2. Sign and submit the EscrowCreate (fee goes to worker address as escrow).

  3. Call this tool with the resulting tx hash.

Outcomes:

  • PASS_UPHELD (challenge rejected): escrow releases to worker, fee released to worker.

  • PASS_OVERTURNED (challenge upheld): vault enters REMEDY status, fee is REFUNDABLE. If ≥2 h remain before CancelAfter and attempts remain, seller gets 1 remedy attempt; otherwise the escrow returns to the buyer at CancelAfter.

  • REVIEW_INCONCLUSIVE (Pro unavailable): escrow releases to worker, fee is REFUNDABLE.

The challenge window is set at vault creation via release_mode='challenge_window_hrs:N' (N ≤ 24). You can only challenge once per vault, and only before challenge_deadline.

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": {
      "escrow_id": "<escrow_id>",
      "quote_id": "<quote_id>",
      "fee_tx_hash": "<fee_tx_hash>",
      "challenger_address": "<challenger_address>"
    },
    "name": "challenge_escrow_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional: explain specifically why the work does not satisfy the listed criteria.
quote_idYesThe quote ID from prepare_challenge_escrow. Contains the fee amount and condition.
escrow_idYesThe receipt code for the escrow whose PASS verdict you want to dispute.
fee_tx_hashYes64-char XRPL tx hash of the EscrowCreate you signed and submitted (from the unsigned_tx in the quote).
criteria_idsNoOptional: one or more criterion IDs you believe the work failed. If omitted, the full verdict is reviewed.
challenger_addressYesYour XRPL wallet address (r...) — must match the buyer on this vault.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations by enumerating the three outcomes and explaining where the escrow and fee go in each case. It also discloses remedy-attempt conditions and CancelAfter behavior, which are critical for an irreversible challenge action.

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-loads the action and uses a short structured two-step process followed by outcome cases. Despite being longer than average, every section carries necessary operational or financial consequence information.

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?

The description covers prerequisites, transaction flow, constraints, and outcome semantics, while the annotations and output schema cover safety and return-shape details. It gives an agent everything needed to invoke this tool correctly.

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 the schema already documents each parameter in detail. The description reinforces the workflow source for quote_id and fee_tx_hash, but does not add much parameter syntax or meaning beyond the schema itself.

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 resource: submit a challenge against a PASS verdict during the challenge window. It also distinguishes itself from the prerequisite sibling prepare_challenge_escrow and makes the disputed object explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a clear three-step usage sequence: call prepare_challenge_escrow, sign/submit the EscrowCreate, then call this tool with the tx hash. It also states the key constraints: only once per vault, only before challenge_deadline, and the challenge window is configured at vault creation.

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.