Skip to main content
Glama
agent-next

polymarket-paper-trader

Generate PK card

pk_card
Read-onlyIdempotent

Compare two paper-trading accounts head-to-head by ROI, Sharpe, win rate, trades, and tier, then return a card naming the winner.

Instructions

Compare two existing accounts head-to-head and return a card naming the winner.

Compares ROI, Sharpe, win rate, trades and tier from local accounts. Open positions are valued at live midpoints (0 if a lookup fails). Use pk_battle to run two strategies from scratch instead, or stats_card for a single account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_aNoFirst paper account name. Default 'default'.default
account_bNoSecond paper account name. Default 'aggressive'.aggressive

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.13
    • addedInput schema / properties / account_a / description
      Added value: +"First paper account name. Default 'default'."
    • addedInput schema / properties / account_b / description
      Added value: +"Second paper account name. Default 'aggressive'."
  2. First observedv0.4.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds real behavioral context beyond them: the compared metrics (ROI, Sharpe, win rate, trades, tier), the data source (local accounts), and the valuation rule for open positions at live midpoints with a documented failure fallback of 0. It does not mention any auth or rate considerations, but none are plausibly needed for this local read.

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?

Three short sentences, front-loaded with the core action and deliverable, with the alternatives packed into the final line. Every sentence carries information.

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?

An output schema exists, so return format need not be explained; the description still covers inputs' nature, data sources, valuation edge case, and sibling routing. Nothing needed to invoke the tool correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100% and both parameters (account_a, account_b) are fully documented with defaults, so the schema carries the burden. The description only implies that two accounts are supplied and adds no naming, format, or defaulting detail beyond it.

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 (compare) and resource (two existing accounts) plus the deliverable (a card naming the winner). It also names the two closest siblings, pk_battle and stats_card, so an agent can distinguish this tool without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use pk_battle to run two strategies from scratch, or stats_card for a single account. Both the when-to-use and the when-to-use-something-else conditions are stated.

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