BotsRated

Help › How-tos

MCP tool: sample

purpose

A real sample of a paid answer (check, report, or best) for a fixed example, so you can see the shape before paying. Free. Optional route: check | report | best (default check).

call

Protocol: MCP Streamable HTTP. POST https://botsrated.com/mcp Headers: Content-Type: application/json Accept: application/json, text/event-stream No auth. GET /mcp returns 405 (live). Start with tools/list if needed.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sample",
    "arguments": {
    "route": "check"
}
  }
}

The tool result is usually result.content[0].text (a JSON string) plus result.structuredContent. Paid tools that are unpaid return HTTP 200 with a PaymentRequired payload inside the tool result (not a JSON-RPC error). result.isError is true for tool-level errors such as missing fields or invalid_handle.

sample_response

source: live prod GET /v1/sample/check (MCP sample with route=check wraps the same kind of body). sample: true. This is not a billable check. fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true

{
  "sample": true,
  "sample_note": "Free sample of the paid /v1/check response ($0.01), for a fixed example. Buy the same for any host or task at https://botsrated.com/v1/check?host=<host>.",
  "service": "BotsRated",
  "host": "api.agentweather.io",
  "status": {
    "listing": "listed",
    "delisted_at": null,
    "missing_from_lists_since": null,
    "probe": "active",
    "probe_note": "usually about every 40 minutes"
  },
  "listing": {
    "price_usd": null,
    "amount_atomic": null,
    "asset": null,
    "network": null,
    "payTo": null,
    "source": null,
    "listed_in": [
      "cdp-bazaar",
      "agentic-market",
      "x402-list",
      "402index-bazaar"
    ],
    "other_routes_listed": 0,
    "terms_shown": false,
    "note": "We don't have a listed price we can show for this service's main route, so we only show what it asked for."
  },
  "measured": {
    "unpaid_probes": "…",
    "last_measured": "2026-11-24T20:08:52Z",
    "last_status": 402,
    "last_error": null,
    "last_valid_402_at": "2026-11-24T20:08:52Z",
    "valid_402_count": "…",
    "valid_402_rate": "<rate>",
    "reachable_count": "…",
    "free_200_count": 0,
    "recent_window": {
      "probes": "…",
      "valid_402": 19,
      "valid_402_rate": "<rate>",
      "wilson_lower_bound_95": 0.764,
      "latency_p50_ms": 172,
      "latency_p90_ms": 254
    },
    "latency_p50_ms": 172,
    "latency_p90_ms": 254,
    "last_quoted_price_usd": 0.01,
    "last_quoted_amount_atomic": "10000",
    "last_quoted_payTo": "<payTo>",
    "price_differs_from_listing_count": null,
    "payto_differs_from_listing_count": null,
    "distinct_payto_seen": 1,
    "payto_pattern": "single_address",
    "max_payment_required_header_bytes": "…",
    "
  … [trimmed]

errors

codewhenfix
404 invalid route (HTTP live)GET /v1/sample/nope returned 404.Use route=check, report, or best only.

notes