Skip to main content
Glama

AgentEscrow – Double-Blind Escrow for AI Agent Transactions

preflight_deliverable

Dry-run validates a Seller deliverable without moving funds or changing contract state. Runs Stage 1 deterministic checks (including attached json_schema) freely, with optional quota-capped Stage 2 advisory preview (max 2 per contract). Requires HMAC-SHA256 signed Seller agent headers.

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": {
      "contract_id": "<contract_id>",
      "payload": "<payload>"
    },
    "name": "preflight_deliverable"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesDraft deliverable string or JSON value to validate.
contract_idYes
include_stage2_previewNoOptional quota-capped Gemini advisory preview (max 2 per contract).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses no funds moved, no contract state change, Stage 1 checks free, Stage 2 capped at 2 per contract, and an HMAC-SHA256 signed Seller agent header requirement. The remaining gap is that it never characterizes the result of a validation run (pass/fail shape, what a failure returns).

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

Conciseness5/5

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

Three tight sentences, front-loaded with the dry-run framing and the no-side-effects guarantee, then escalating to the two-stage mechanics and the auth prerequisite. No filler, and the most decision-relevant constraint comes first.

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?

Given no output schema, the description should explain what a validation returns (checks passed, failed rules, advisory notes), and it does not. Auth, side-effect safety, and quota behavior are all covered, so the omission is the main completeness gap for a tool whose whole purpose is producing a verdict.

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?

Schema coverage is 67%, so two of three parameters are already documented in the schema; the description reinforces include_stage2_preview's quota cap and clarifies that Stage 1 uses the attached json_schema. It adds nothing for contract_id, which is undocumented in both the schema and the 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?

States a specific verb and resource ('Dry-run validates a Seller deliverable') and immediately bounds scope with 'without moving funds or changing contract state', which distinguishes it by contrast from the write-path sibling submit_deliverable. It stops short of naming that sibling, so an agent must infer the pairing rather than read it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: 'Dry-run' plus 'without moving funds' signals this is the pre-submission check, and the description notes the Stage 2 preview is optional and quota-capped. There is no explicit 'use this before calling submit_deliverable' routing or any statement of when-not to use it.

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