Skip to main content
Glama

Rivo: Polymarket & Kalshi

Change a paper bot

update_bot
DestructiveIdempotent

Change a paper bot's name, sizing, signal, rule, exits, copy rules, daily limit, slippage or alerts; a market bot's buy windows, sale before the close and pause limits (null clears each); or claim a signal bot's history. status pauses or resumes a trader or market bot; a signal bot records every match while it exists, so archive or delete it to stop it. archived true archives a bot (it stops, keeps its record and no longer counts toward the bot limits); false restores it, paused for a trader or market bot. Send archived on its own. A bot that trades real money can only be changed in the app.

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": "update_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
copyNoTrader bots: which of the trader's trades to copy, as in create_bot. Fields left out mean no limit, so send every rule you want kept.
nameNo
ruleNoA market bot's rule, same fields as in create_bot.
alertsNo
signalNoConditions a whale buy must meet.
sizingNoBet size: { usd } per trade, or { percent, maxUsd } of the source trade. Defaults to $100 a trade.
statusNo
archivedNotrue archives the bot, false restores it.
slippageNoTrader bots: price tolerance as in create_bot; null puts it back on 2.5%.
buyWindowsNoMarket bots: as in create_bot; null buys at any time.
dailyCapUsdNoTrader bots: the daily limit on buys in dollars; null clears it.
historyDaysNoSignal bots: add matching trades from this many days back to its paper record.
mirrorExitsNo
pauseLimitsNoMarket bots: as in create_bot; null clears them.
sellBeforeCloseSecondsNoMarket bots: as in create_bot; null holds to settlement.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / archived
      Added value: +{
      +  "description": "true archives the bot, false restores it.",
      +  "type": "boolean"
      +}
  2. Changed11 schema fields changed
    • changedInput schema / properties / copy / description
      Previous value: -"Trader bots: which of the trader's trades to copy, as in create_bot."New value: +"Trader bots: which of the trader's trades to copy, as in create_bot. Fields left out mean no limit, so send every rule you want kept."
    • addedInput schema / properties / copy / properties / categories / description
      Added value: +"Copy only these categories or kinds of market, e.g. [\"sports\"], [\"tennis\"], [\"nba\", \"nfl\"], [\"politics\"]. Empty copies every market."
    • addedInput schema / properties / copy / properties / maxAmountUsd / description
      Added value: +"Copy only trades of the trader's of at most this many dollars. Null is no ceiling."
    • addedInput schema / properties / copy / properties / maxBets / description
      Added value: +"Stop opening new bets after this many a day, or in all."
    • addedInput schema / properties / copy / properties / maxPrice / description
      Added value: +"Highest price to buy at, 0.01 to 0.99 (0.95 is 95 cents). Null is no ceiling."
    • addedInput schema / properties / copy / properties / minAmountUsd / description
      Added value: +"Minimum bet: copy only trades of the trader's of at least this many dollars. Each fill is judged on its own. Null copies any size."
    • addedInput schema / properties / copy / properties / minPrice / description
      Added value: +"Lowest price to buy at, 0.01 to 0.99 (0.4 is 40 cents). Null is no floor."
    • addedInput schema / properties / copy / properties / newPositionsOnly / description
      Added value: +"Copy only trades that open a new position for the trader; adds to a position they hold are left."
    • addedInput schema / properties / copy / properties / oneSidePerMarket / description
      Added value: +"Never hold both sides of one market."
    • addedInput schema / properties / dailyCapUsd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Daily limit: the most a trader bot buys in a day, in dollars, counted in your own day. A copy past it is skipped as daily_cap. It is kept for Go live.",
      +      "exclusiveMinimum": 0,
      +      "maximum": 1000000,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Trader bots: the daily limit on buys in dollars; null clears it."
      +}
    • addedInput schema / properties / slippage
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "cents": {
      +              "description": "Cents over the trader's price, 0 to 20.",
      +              "maximum": 20,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "cents"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "percent": {
      +              "description": "Percent over the trader's price, 0.5 to 20.",
      +              "maximum": 20,
      +              "minimum": 0.5,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "percent"
      +          ],
      +          "type": "object"
      +        }
      +      ],
      +      "description": "Price tolerance (slippage): how far past the trader's price a real-money copy may pay. A paper bot keeps it for Go live and its backtest scores at it; paper fills are priced from what live copies really paid. 2.5% by default."
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Trader bots: price tolerance as in create_bot; null puts it back on 2.5%."
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds substantial behavior: archiving stops the bot but keeps its record and frees a bot-limit slot, restoring yields a paused bot, a signal bot records every match only while it exists, and null clears individual fields. It also discloses the hard constraint that real-money bots are app-only, which is operationally decisive context no annotation conveys.

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?

The mutable fields are front-loaded in the first clause, then behavior notes follow, which is the right ordering. The middle sentence about signal bots recording every match is slightly long-winded, but each sentence carries distinct information rather than restating the name.

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?

For a 16-parameter nested partially-update tool, the description covers the mutation model (send what you want kept, null to clear), the special archived-only case, per-bot-type scope, and hard restrictions. With an output schema and annotations present, no material gap remains for correct invocation.

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?

With 16 parameters and 69% schema description coverage, the description meaningfully compensates by stating that null clears each optional field, that archived must be sent alone, and by grouping parameters by bot type (trader vs market vs signal). It does not spell out units/ranges for every field, but the schema already carries those where documented.

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?

The description opens with a specific verb and resource ('Change a paper bot') and then enumerates the mutable surface per bot type (name, sizing, signal, rule, exits, copy rules, daily limit, slippage, alerts; buy windows/sell-before-close/pause limits; signal history). That level of enumeration makes it immediately distinguishable from create_bot, delete_bot, and get_bot without inspecting the schema.

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?

It gives real operating guidance: status pauses/resumes, archived true/false semantics, 'Send archived on its own', and the exclusion that a real-money bot can only be changed in the app. It also implies the alternative for stopping a signal bot ('archive or delete it to stop it'). What's missing is an explicit pointer to delete_bot/create_bot as named alternatives, so it stops short of full when/when-not/alternative coverage.

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