Skip to main content
Glama

Polyrank AI Lab: start paper trading

polyrank_start_paper
Idempotent

Writes to the user's AI Lab: ask the user before calling, then pass confirm: true. Start paper trading a saved strategy: from now on every signal of its wallets is scored against the real order book (no orders, no keys, no money). The run lasts 10 days unless run_days says otherwise (a whole number of days, 1 to 90, only when the user asked for that length; null = no end, it runs until stopped). The result's ends_at is when it stops by itself (null = no end; open copies still settle after it): tell the user, and that they can change it on the run's page at polyrank.app. One active run per strategy. Needs a signed-in Polyrank account on a plan with the AI Lab (every paid plan, from Pro Trader: https://polyrank.app/pricing).

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": {
      "strategy_id": "<strategy_id>",
      "confirm": "<confirm>"
    },
    "name": "polyrank_start_paper"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesRequired: true, and only after the user agreed to this call in the conversation.
run_daysNoHow many days the run lasts (default 10); null = no end, it runs until the user stops it.
strategy_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / run_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 90,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "How many days the run lasts (default 10); null = no end, it runs until the user stops it."
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "const": true,
      +  "description": "Required: true, and only after the user agreed to this call in the conversation.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "strategy_id"
      -]New value: +[
      +  "strategy_id",
      +  "confirm"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true), disclosing that no real orders or keys are involved, the default 10-day duration, the 1–90 day bound, that null means it runs until stopped, that open copies still settle after ends_at, and where the user can edit the end date. It also states the auth/plan requirement with a pricing link. That is exactly the context the annotations cannot carry.

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-loads the consent requirement and the core action before the mechanics, which is the right ordering for an agent. It is dense but nearly every clause carries a distinct fact; the parenthetical asides about ends_at and the pricing URL make it longer than ideal but not padded.

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 mutation tool with no output schema, it covers everything an agent needs: consent gate, duration semantics and bounds, the ends_at return-value meaning, the one-active-run constraint, and the account/plan prerequisite. Nothing material about correct invocation is left unstated.

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 67% schema coverage, the description compensates where it matters: it clarifies that strategy_id refers to a saved strategy and gives run_days intent-level meaning ('only when the user asked for that length') plus the null = no-end behavior. The confirm parameter's purpose is restated rather than expanded, and strategy_id gets no hint about how to obtain a valid UUID, so it is not fully compensating.

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 — 'Start paper trading a saved strategy' — and immediately defines what that means operationally: every signal from the strategy's wallets is scored against the real order book with no orders, keys, or money. That mechanism distinguishes it from the read-only siblings like polyrank_get_paper_run and from polyrank_lab_stop without the agent needing to open another 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 an explicit precondition workflow ('ask the user before calling, then pass confirm: true') and constrains run_days to 'only when the user asked for that length'. It also flags the 'one active run per strategy' rule, which implies checking existing runs first. It stops short of naming the sibling to use for that check or for stopping a run, so routing is implied rather than spelled out.

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.