Skip to main content
Glama
Pariflow Agent MCP

Pariflow Agent MCP

Preview Trade

preview_trade
Read-onlyIdempotent

Simulate a Pariflow trade to check pricing, order details, and potential fees before execution. Validate buy or sell orders without placing them.

Instructions

Preview a Pariflow trade without execution.

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": {
      "eventId": "<eventId>",
      "side": "<side>",
      "amount": "<amount>"
    },
    "name": "preview_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes
priceNo
amountYes
optionNo
eventIdYes
quoteIdNo
marketIdNo
orderTypeNomarket
outcomeIdNo
accountModeNoDEMO
autoMinSizeNo
outcomeSideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so 'without execution' largely restates what is already structured. Nothing is said about whether the preview locks a price or quote, how long a preview remains valid, whether accountMode matters, or what the response contains.

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

Conciseness3/5

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

The sentence is front-loaded and free of filler, but for a 12-parameter trading tool it errs toward under-specification rather than genuine conciseness. It is efficiently worded but carries far less information than the call requires.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 12 parameters, no output schema and zero schema descriptions, the definition omits everything an agent needs beyond the tool's name: which IDs are required versus interchangeable, what a preview returns, and how to interpret it. Only the high-level intent is communicated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 12 parameters, including four enums and several ID fields (eventId, quoteId, marketId, outcomeId), and the single-sentence description compensates for none of it. The distinction between marketId, eventId and outcomeId, and the semantics of option, autoMinSize and outcomeSide, are entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Preview') and resource ('a Pariflow trade') and adds the key qualifier 'without execution', so the operation is unambiguous. It does not, however, distinguish itself from siblings such as prepare_trade_target or place_trade, which an agent must choose among.

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

Usage Guidelines2/5

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

'Without execution' faintly implies a pre-flight check before placing a real order, but the description never states when to use this versus place_trade or prepare_trade_target, nor any prerequisite such as a known eventId or quoteId. The agent is left to infer the workflow position entirely.

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