Skip to main content
Glama

List escrows

list_escrows
Read-onlyIdempotent

List escrows on escro.ai with optional filters: state (one of the seven served states, or a non-empty list of them; CREATED is never served), worker (base-58 worker wallet: every escrow assigned to it, in any served state, DISPUTED and settled included), assignedTo (the legacy form of worker: only that worker's escrows in FUNDED, IN_PROGRESS or SUBMITTED; with any other state it returns nothing; refused beside a worker naming another wallet), mine (true: only escrows this server's wallet created as the buyer; refused on a server with no wallet), limit (1-100; the API returns 20 by default) and offset for pagination. Call get_escrow for a single escrow. Claim a FUNDED escrow assigned to you before doing its work: until the claim the buyer may cancel it and take the deposit back, so work done before the claim can go unpaid. Read-only; needs no wallet except for mine.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_escrows"
  }
}

Input Schema

NameRequiredDescriptionDefault
mineNotrue: only escrows this server's wallet created (it is the buyer)
limitNoPage size, 1-100; the API returns 20 when omitted
stateNoReturn only escrows in this state, or in any state of a non-empty list; CREATED is never served
offsetNoNumber of escrows to skip
workerNoBase-58 wallet; return every escrow assigned to this worker, in any served state. Claim a FUNDED escrow assigned to you before doing its work: until the claim the buyer may cancel it and take the deposit back, so work done before the claim can go unpaid.
assignedToNoBase-58 wallet; the legacy form of worker: return only this worker's escrows in FUNDED, IN_PROGRESS or SUBMITTED. Claim a FUNDED escrow assigned to you before doing its work: until the claim the buyer may cancel it and take the deposit back, so work done before the claim can go unpaid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / assignedTo / description
      Previous value: -"Base-58 wallet; return only escrows assigned to this worker"New value: +"Base-58 wallet; the legacy form of worker: return only this worker's escrows in FUNDED, IN_PROGRESS or SUBMITTED. Claim a FUNDED escrow assigned to you before doing its work: until the claim the buyer may cancel it and take the deposit back, so work done before the claim can go unpaid."
    • addedInput schema / properties / state / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "CREATED",
      +      "FUNDED",
      +      "IN_PROGRESS",
      +      "SUBMITTED",
      +      "COMPLETED",
      +      "CANCELLED",
      +      "DISPUTED",
      +      "REFUNDED"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "CREATED",
      +        "FUNDED",
      +        "IN_PROGRESS",
      +        "SUBMITTED",
      +        "COMPLETED",
      +        "CANCELLED",
      +        "DISPUTED",
      +        "REFUNDED"
      +      ],
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / state / description
      Previous value: -"Return only escrows in this lifecycle state"New value: +"Return only escrows in this state, or in any state of a non-empty list; CREATED is never served"
    • removedInput schema / properties / state / enum
      Removed value: -[
      -  "CREATED",
      -  "FUNDED",
      -  "IN_PROGRESS",
      -  "SUBMITTED",
      -  "COMPLETED",
      -  "CANCELLED",
      -  "DISPUTED",
      -  "REFUNDED"
      -]
    • removedInput schema / properties / state / type
      Removed value: -"string"
    • addedInput schema / properties / worker
      Added value: +{
      +  "description": "Base-58 wallet; return every escrow assigned to this worker, in any served state. Claim a FUNDED escrow assigned to you before doing its work: until the claim the buyer may cancel it and take the deposit back, so work done before the claim can go unpaid.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the description correctly spends its space on what annotations cannot express: server refusal conditions (mine without a wallet, conflicting worker/assignedTo), the wallet requirement caveat, and the real-world risk that unclaimed work may go unpaid if the buyer cancels. That is substantive behavior beyond the structured hints.

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-loaded with the action, then filters in a predictable order, then the sibling pointer and the claim advisory. It is dense but not padded; the only cost is that filter semantics and the claim warning are packed into long clauses that reward careful reading over skimming.

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 six-parameter, all-optional query tool with no output schema, it covers every parameter's constraints and the refusals an agent could hit. It stops short of describing what a returned escrow contains or any ordering guarantee, which an agent paging with limit/offset would reasonably want.

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 schema already defines each parameter's meaning and default. The description adds value mainly through cross-parameter semantics, notably the worker-vs-assignedTo distinction (all served states vs. the three legacy states) and the rule that combining assignedTo with a conflicting worker is refused, which no single schema field states.

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?

The description opens with a specific verb and resource ("List escrows on escro.ai") and immediately enumerates the filters that scope the result. It also distinguishes itself explicitly from the sibling single-item tool ("Call get_escrow for a single escrow"), so an agent can choose 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 Guidelines5/5

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

It states exactly when each filter applies, including incompatible combinations: assignedTo returns nothing with states outside FUNDED/IN_PROGRESS/SUBMITTED and is "refused beside a worker naming another wallet," and mine is refused on a walletless server. It names the alternative tool and adds a procedural rule (claim a FUNDED escrow before working) that changes how the agent should act on results.

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.