Skip to main content
Glama

Get escrow

get_escrow
Read-onlyIdempotent

Fetch one escrow by its base-58 PDA address, including its state as mirrored by the Escro API (it can briefly lag the chain; the program is authoritative). Amounts are in micro-USDC (6 decimals). The state decides what can happen to the escrow next. 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.

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": {
      "address": "<address>"
    },
    "name": "get_escrow"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesBase-58 escrow PDA address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it warns the mirrored state can briefly lag the chain with the program being authoritative, specifies units (micro-USDC, 6 decimals), notes no wallet is needed, and explains that the returned state determines permissible next actions. That is exactly the extra behavioral context the annotations cannot convey.

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 fetch action and lookup key, then layered with the important caveats (staleness, units, claim risk) in descending priority. Dense but nearly every sentence earns its place; the claim-risk advice is slightly more workflow lore than tool definition, which keeps it from a 5.

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?

With no output schema, the description compensates by naming what is returned (state and amounts) and their units, plus the freshness caveat. For a one-parameter read tool with full annotation coverage, nothing an agent needs to call it correctly 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?

There is one required parameter with 100% schema description coverage, so the schema already documents the base-58 PDA address. The description repeats that format but adds no validation rules, error behavior for malformed/missing addresses, or lookup failure semantics.

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 ('Fetch one escrow') plus the exact lookup key ('base-58 PDA address'), which cleanly differentiates it from the sibling list_escrows plural listing. An agent knows immediately this is a single-item lookup, not a search.

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?

Provides strong downstream context: claim a FUNDED escrow assigned to you before working, because the buyer may cancel and reclaim the deposit until claimed. It doesn't explicitly route to a sibling (e.g. 'use list_escrows to find the address'), so when-to-use-this-vs-alternatives is implied rather than stated.

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.