Skip to main content
Glama
Agents Trust MCP

Agents Trust MCP

Inspect evidence for one endpoint

inspect

Read stored evidence for an exact x402 endpoint URL—price, payment networks, liveness, delivery history, and risk flags—without calling or paying it; use before paying a known endpoint.

Instructions

Read the stored evidence for one exact x402 endpoint URL: price, payment networks, liveness, delivery history and risk flags. It never calls or pays the endpoint itself. Use it before paying an endpoint you already know, for example one returned by recommend; use recommend instead to find candidates for a task. Pass url exactly as listed: paths and trailing slashes are distinct. Use view=compact for essentials only. Demo endpoints are free; other indexed endpoints cost 1% of the endpoint's lowest quoted price, minimum 0.001 USDC. An unindexed URL returns ENDPOINT_NOT_INDEXED without payment. Pays only if the wallet owner set AGENTS_TRUST_ENABLE_PAYMENTS=true and AGENTS_TRUST_WALLET_PRIVATE_KEY (Base USDC): one paid call per process, at most AGENTS_TRUST_MAX_CALL_USDC (default 0.01), never retried. Otherwise it errors without paying; errors and empty results are free. Returns JSON {data, payment_attempt_id, request_id}; payment_attempt_id is set only after a paid answer, for use with receipt. data.endpoint holds price (min_usd, max_usd), networks and payment_offers, liveness (is_live, last probe time; compact and evidence views), delivery_verification (status, charged and charged-not-delivered counts), risk_flags and invocation (request schema); data.lookup shows the canonical URL matched.

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": {
      "url": "<url>"
    },
    "name": "inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesExact public HTTPS endpoint URL, including any fixed query parameters, e.g. a pick's url from recommend. Private, malformed and credential-bearing URLs are rejected before payment.
viewNoResponse detail: compact (smallest), evidence (full evidence blocks), legacy (default, original field layout) or debug (adds diagnostic fields).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / url / description
      Previous value: -"Exact endpoint URL, including its fixed query parameters. The API rejects private URLs before payment."New value: +"Exact public HTTPS endpoint URL, including any fixed query parameters, e.g. a pick's url from recommend. Private, malformed and credential-bearing URLs are rejected before payment."
    • addedInput schema / properties / view / description
      Added value: +"Response detail: compact (smallest), evidence (full evidence blocks), legacy (default, original field layout) or debug (adds diagnostic fields)."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only mark it non-readonly and open-world; the description supplies far more: it never calls the endpoint, pricing (free demo, 1% min 0.001 USDC), payment gating via env vars, one paid call per process with a cap and no retries, and that errors/empty results are free. This is exactly the cost and side-effect disclosure an agent needs for a potentially-paying tool.

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 purpose and the recommend alternative, then payment mechanics; dense but nearly every sentence carries operational weight. The payment paragraph is long yet justified by the stakes.

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 still documents the returned JSON shape ({data, payment_attempt_id, request_id}), key data.endpoint fields, and the ENDPOINT_NOT_INDEXED error case — complete for correct invocation and interpretation.

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 100%, so baseline is 3, but the description adds real meaning: url must be passed exactly with distinct paths and trailing slashes, and view=compact yields essentials only, beyond the enum label in the schema.

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 ('read the stored evidence for one exact x402 endpoint URL') and enumerates what the evidence contains, while explicitly distinguishing itself from recommend.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('before paying an endpoint you already know, for example one returned by recommend') and when-not ('use recommend instead to find candidates'), plus a view=compact hint for lightweight cases.

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

Deploy Server

Other Tools