Skip to main content
Glama

Rivo: Polymarket & Kalshi

Place a paper order

place_paper_order
DestructiveIdempotent

Buy or sell one side of a market on paper, at the venue's live price including its fee. No money moves. A buy is sized in usd (maxPrice caps the price paid); a sell in contracts or "all" (minPrice floors it). requestId is any string chosen by the caller; a retry with the same requestId never places the order twice.

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": {
      "market": "<market>",
      "outcome": "<outcome>",
      "action": "<action>"
    },
    "name": "place_paper_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdNo
actionYes
marketYesThe market ref.
outcomeYesThe side by name, e.g. "Yes" or "Lakers".
maxPriceNo
minPriceNo
contractsNo
requestIdNoAny unique string; a retry with the same one returns the first order.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real value by clarifying that the destruction is confined to paper state ("No money moves") and by explaining the idempotency mechanism ("a retry with the same requestId never places the order twice") rather than merely restating the hint. The fee-inclusive fill price is a meaningful behavioral disclosure. It stops short of describing failure modes such as insufficient paper balance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with no filler; scope and the no-real-money guarantee are front-loaded, and each clause (pricing, sizing, idempotency) carries distinct information. Nothing is repeated from the title or schema.

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?

An output schema exists, so return values need not be spelled out, and the description covers pricing basis, sizing rules, and idempotency for a mutating 8-parameter tool. Minor gaps remain around expected rejection conditions and fee magnitude, but the agent has enough to invoke it correctly.

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 description coverage is only 38% across 8 parameters, so the description must compensate, and it does: it defines the buy/sell sizing asymmetry, explains what maxPrice and minPrice do, and gives requestId's retry semantics beyond the schema's shorter wording. market, outcome, and action are left to the schema, which is reasonable given the enum and their inline descriptions.

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 ("Buy or sell one side of a market on paper") plus the pricing basis ("at the venue's live price including its fee") and the crucial scope qualifier ("No money moves"), which separates it from any real-money trading sibling. An agent knows exactly what this does without opening 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?

Gives clear per-action conditions: buys are sized in usd with maxPrice capping, sells in contracts or "all" with minPrice flooring. That's strong guidance on how to call it, but there is no explicit statement of when to prefer this over alternatives such as backtest or bot-driven trading, so selection guidance is implied rather than stated.

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