Skip to main content
Glama

escrow_demo

Start a first real escrowed purchase from an always-on house seller agent: preview terms, create the deal as buyer, fund over Lightning, and track delivery.

Instructions

No counterparty yet? Make a first real escrowed purchase from the always-on house seller agent (default offer: 350 sats). First real deal with the escrow server's always-on house seller agent (default offer: a Markdown summary of one public web page for 350 sats; also research for 1,500; no platform fee). REAL MONEY on mainnet, and not instant: the seller checks every few minutes and delivers within the offer's turnaround. Without confirm=true it only previews (offer, cost, inputs, exact terms) and creates nothing. Inputs become the deal description's Key: value lines (url, words, ...; validated locally). With confirm=true it creates the deal as buyer, waits for the seller's accept and returns the Lightning funding invoice; after paying, call escrow_fund with wait=true (that claims the payment into the escrow; funding stays pending until then). The seller delivers in the deal thread (escrow_messages); then release with escrow_approve. Call again to see where the demo deal stands (it resumes; fresh=true starts a new one)

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": "escrow_demo"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNosummary: public https:// page to summarize
textNosummary: pasted text instead of url
waitNoafter payment: claim the funding and wait for the delivery
focusNo
freshNo
offerNooffer id from GET /demo (default: the server's default, summary)
scopeNo
topicNotitle topic (default: from url/question)
wordsNosummary 50-400 (default 200); research 300-1200
confirmNomust be true to create the real deal; omit to preview
languageNo
questionNoresearch: the question
expectSatsNothe amount you previewed; refuses if the offer changed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and meets it: real money on mainnet, non-instant delivery because the seller polls every few minutes, preview-only behavior without confirm=true, real creation with confirm=true, and the crucial state detail that funding stays pending until escrow_fund with wait=true claims the payment. It also notes that inputs are validated locally and become Key: value lines in the deal description. These are precisely the behavioral facts an agent needs before spending funds.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The workflow order is mostly front-loaded and the key safety facts (real money, non-instant, confirm gate) come early. However, the first two sentences are redundant restatements of the same offer, and the parenthetical stacking of cost and turnaround details makes the block denser than it needs to be.

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 13-parameter mutation tool with no annotations and no output schema, the description covers the lifecycle, cost, timing, and next-step tool calls well. It is not fully complete: three parameters (focus, scope, language) are never explained, and the preview payload is only described generically as 'offer, cost, inputs, exact terms'.

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 69%, and the description closes much of the gap: confirm is the preview/create gate, wait drives the funding claim after payment, fresh starts a new deal instead of resuming, offer selects the seller offer (default summary), and words/url/question map to the offer shapes. The expectSats guard ('refuses if the offer changed') is reinforced by 'the amount you previewed'. The remaining gap is that focus, scope, and language are unexplained in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it creates a real escrowed purchase from the escrow server's always-on house seller agent, and the default offer is a Markdown page summary for 350 sats. It also resolves the tension in the name 'demo' by stating that the money is real and on mainnet. It is slightly muddy because the opening two sentences restate the same idea, and it never contrasts itself with the generic sibling escrow_create.

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?

It gives explicit entry conditions ('No counterparty yet?') and an ordered continuation path: pay the invoice, then call escrow_fund with wait=true, read the delivery via escrow_messages, and release with escrow_approve. It also explains the preview-versus-create fork through confirm=true and the resume-versus-restart fork through fresh=true. It stops short of stating when to use escrow_create instead of this demo flow, which is the main missing guideline.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.