Skip to main content
Glama

Mirage Desk (x402 Agent Data & Safety)

desk_build_call

Validate parameters BEFORE touching your wallet and return an exact runnable URL, HTTP method, optional JSON body, Base/Arbitrum prices, and curl command (zero-waste preflight).

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": {
      "door": "<door>"
    },
    "name": "desk_build_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
doorYesCanonical door path or method+path key (e.g. "/intel", "GET /rpc-health", "pre-pay-check", "/agent-brief").
paramsNoQuery parameters (for GET doors) or JSON body fields (for POST doors) to validate and encode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 that validation happens before any wallet charge, and it enumerates what is returned (URL, method, body, Base/Arbitrum prices, curl). It omits error behavior, auth requirements, and whether validation failures are returned rather than thrown, which keeps it at 4.

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?

One front-loaded sentence that leads with the preflight purpose and then lists outputs; no wasted preamble. The parenthetical '(zero-waste preflight)' is slightly redundant with 'BEFORE touching your wallet' but doesn't obscure meaning.

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?

There is no output schema, and the description compensates by enumerating the return payload (URL, method, JSON body, prices, curl command), which is what an agent needs to chain the next call. Given no annotations, it could say more about failure modes or auth, but for a 2-param preflight tool it is substantially complete.

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 description coverage is 100% and both parameters (door, params) are documented in the schema, so the description need not define them. It only implies the door/params roles via 'Validate parameters,' adding no syntax or format detail beyond the schema — the baseline 3.

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 two-part action — validate parameters, then return a runnable URL, HTTP method, optional JSON body, prices, and curl command — so an agent knows exactly what the tool produces. It does not name or distinguish itself from any sibling (desk_discover_doors, desk_pricing, etc.), which keeps it below a 5.

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?

"Validate parameters BEFORE touching your wallet" gives a clear trigger condition: use this as a preflight before any paid call. There are no explicit exclusions or named alternatives, so it stops short of the 5-level when/when-not guidance.

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