Skip to main content
Glama

PEGD (pegd.org)

Draft an XRP escrow ladder (unsigned)

draft_escrow_ladder
Read-only

Use when someone wants to lock or vest XRP until a date, schedule payouts, set up a time-locked savings plan, or "release 25 XRP each month". Builds an UNSIGNED XRP Ledger transaction with 1 to 8 time-locked escrows on different unlock dates, in one all-or-nothing Batch, so the owner signs once. Checks the balance, reserves and destination flags first. Returns transaction JSON to sign with the owner's own wallet (e.g. xrpl.js or Xaman); pegd.org never sees keys. Once unlocked, any account can submit EscrowFinish to pay the destination.

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": {
      "account": "<account>",
      "net": "<net>",
      "rungs": "<rungs>"
    },
    "name": "draft_escrow_ladder"
  }
}

Input Schema

NameRequiredDescriptionDefault
netYes
rungsYes
accountYesAddress that owns and funds the escrows (it signs)
destinationNoWho receives the XRP on unlock. Default: the account itself.
return_afterNoOptional ISO 8601 time after which unreleased escrows can be returned to the account. Must be later than every unlock.
destination_tagNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: all-or-nothing Batch semantics, one-signature flow, pre-flight balance/reserve/destination-flag checks, and the return being unsigned JSON for the user's own wallet. It explicitly states pegd.org never sees keys and explains the post-unlock EscrowFinish path. None of this contradicts readOnlyHint=true, since the tool drafts rather than submits.

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?

Front-loads the 'Use when' trigger, then layers mechanics, return format, and the unlock path in a logical order with no filler. It is dense and slightly packed with parentheticals (wallet examples, quoted phrase), but each sentence carries information an agent needs.

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

Completeness4/5

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

For a drafting tool with no output schema, it explains the returned artifact (signable transaction JSON), the signing handoff, and the safety model. Minor gaps remain on network selection (mainnet/testnet) and how destination_tag or return_after affect behavior, but nothing an agent needs to invoke it is missing.

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?

With 50% schema coverage, the description adds meaningful semantics for rungs (count bounds, distinct unlock dates, batched atomically) and confirms the account signs. It does not add anything for net, destination_tag, or the return_after ordering constraint (which only lives in the schema). Useful but partial compensation.

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 artifact: builds an UNSIGNED XRP Ledger transaction containing 1-8 time-locked escrows in a single Batch. The scope limits (1-8 rungs, distinct unlock dates) plus the 'unsigned draft' framing make it clearly distinct from the sibling xrp_escrows (a read) without needing to name it.

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?

Opens with concrete trigger scenarios: lock/vest XRP until a date, schedule payouts, time-locked savings, or the quoted 'release 25 XRP each month' phrasing. It also notes pre-checks (balance, reserves, destination flags) before building. It stops short of naming an alternative tool or stating when NOT to use it, so it's clear context without exclusions.

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