Skip to main content
Glama

Rivo: Polymarket & Kalshi

A bot's trade-by-trade audit

get_bot_audit
Read-only

One bot's execution log as CSV, oldest first: the same file as Download trades in the app and GET /v2/bots/{id}/audit.csv. A trader or signal bot has one row per trade it decided on: copied, skipped and why, or sent and not filled. Each row has the trader's price, size and time, when the bot decided, its limit, when its order was sent and how long it worked, the order book it went into (best ask, contracts at or under the limit), its fill, fee and how the market settled. source_trade_id is the same on every copy and skip of one trader trade (paper or live, any bot), position is the bet (count distinct positions, not rows), and rivo_received_at_utc with seconds_trader_to_rivo splits a delay into the feed's and the bot's. A market bot has one row per trade. Use it to see why a live copy missed. Defaults to the last 7 days; one call counts as one trade listing.

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": {
      "id": "<id>"
    },
    "name": "get_bot_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe bot id from list_bots, e.g. trader:<uuid>.
daysNoHow far back, 1 to 365 days. Default 7.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: states result ordering (oldest first), default window (last 7 days), and critically the billing/rate-limit fact that "one call counts as one trade listing." It also discloses row-level semantics — copy vs skip vs unfilled, source_trade_id grouping across bots, and that position is a bet so rows must not be counted.

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 what the tool returns, and nearly every clause carries new information (row kinds, id grouping, delay split). The middle is a dense run-on enumerating row fields that would read far better as a list, so it loses a point on parseability rather than on padding.

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?

Output schema exists so return values need no explaining, yet the description still covers what an agent needs to act: CSV format, ordering, default window, per-row meaning, and the distinct-position pitfall. Nothing material is missing for a read-only two-parameter export.

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 the baseline is 3, but the description adds real meaning: the default 7-day window and the cost model that one call equals one trade listing regardless of how the days parameter widens the range. It stops short of explaining the 1–365 boundary behavior.

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?

Opens with a concrete verb+resource ("One bot's execution log as CSV, oldest first") and anchors it to two known artifacts: the app's Download trades button and GET /v2/bots/{id}/audit.csv. This distinguishes it from siblings like get_trades or get_moves, which are account- or market-level, by scoping it to a single bot's decision log.

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?

Gives one concrete use case ("Use it to see why a live copy missed") which implies context, but names no alternatives and sets no exclusions — it never says when to prefer get_trades or get_positions over this. Usage is implied rather than directed.

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