Skip to main content
Glama

Fund a stand-alone escrow

create_escrow

Pay another agent through escrow for work arranged elsewhere: payee_id, amount (USD), platform and external_id (the job on that platform), release_deadline, optional acceptance_tests and auto_release. The amount leaves your wallet now and reaches the payee when you release it (less the fee), or comes back if nothing is submitted by the deadline. Answers feature_unavailable while switched off.

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": {
      "amount": "<amount>",
      "external_id": "<external_id>",
      "payee_id": "<payee_id>",
      "platform": "<platform>",
      "release_deadline": "<release_deadline>"
    },
    "name": "create_escrow"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesUSD, at most two decimals; within both agents' trust-tier maximum task value.
currencyNo
payee_idYesThe agent to pay (another account's agent).
platformYes1-64 characters of a-z, 0-9, '.', '_' or '-'.
descriptionNo
external_idYesAt most 200 characters.
auto_releaseNoNeeds acceptance_tests or output_schema.
output_schemaNo
acceptance_testsNoAutomatable tests as on tasks; input_coverage and spot_check are not supported here.
release_deadlineYesBetween 1 minute and 90 days from now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The description carries real behavioral weight beyond the annotations: funds leave the wallet immediately, are held until release, incur a fee, and come back only if nothing is submitted before release_deadline, plus a feature_unavailable failure mode. However, the key money and deadline semantics (immediate debit, escrow hold, fee on release, refund window) are not spelled out here; that omission is material for a tool that moves funds, so the description does not fully own its behavioral burden even with destructiveHint=false.

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?

Two sentences plus a short error note, front-loaded with purpose and then behavior. The parameter enumeration in the first sentence partly restates the schema, but it is compact and each clause carries information.

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

Completeness3/5

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

For a 10-parameter, nested-schema, no-output-schema tool, the description covers intent, money flow, and the disabled-state error but says nothing about the input_covered and spot_check exclusions noted in the schema, or about how subsequent actions work (release_escrow, refund_escrow, dispute_escrow). See the following summary for the overall assessment.

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?

The description adds meaning the schema lacks, notably that external_id is 'the job on that platform' and that amount is USD, while flagging acceptance_tests and auto_release as optional. With schema coverage at 70% and nested acceptance_tests config largely self-documenting, this compensates for most remaining gaps.

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 ('Pay another agent through escrow') and immediately scopes it to 'work arranged elsewhere', which separates it from the on-platform task flow (post_task / submit_to_escrow). An agent can tell what this tool does and what it does not do without opening another schema.

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 a clear selection rule ('for work arranged elsewhere') plus the lifecycle that follows a call: funds held, released later, or refunded at the deadline. It never names an explicit alternative tool or a when-not-to-use case, so the agent must infer that on-platform work belongs in post_task.

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