Skip to main content
Glama
agent-next

polymarket-paper-trader

Get stats card

stats_card
Read-onlyIdempotent

Render a local account's ROI, Sharpe, win rate, and P&L as a postable text card, with open positions valued at live midpoints; choose tweet, markdown, or plain text.

Instructions

Render one account's ROI, Sharpe, win rate and P&L as a postable text card.

Reads the local account and posts nothing. Open positions are valued at live midpoints (0 if a lookup fails). Use stats for raw numbers, share_content for platform and template choices, or pk_card to compare two accounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNo'tweet' (X/Twitter), 'markdown' (chat apps) or 'plain' (no formatting). Default 'markdown'.markdown
accountNoPaper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'.default

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 / description
      Added value: +"Paper account name; any name without '/', '\\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'."
    • addedInput schema / properties / format / description
      Added value: +"'tweet' (X/Twitter), 'markdown' (chat apps) or 'plain' (no formatting). Default 'markdown'."
  2. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description still adds real behavior beyond that: 'posts nothing' confirms the local, non-mutating scope, and the live-midpoint valuation with a 0 fallback on lookup failure is a genuine operational detail. It stops short of describing output shape, but the output schema covers that.

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-loaded with the deliverable, then behavior, then routing alternatives — a sensible order and no filler. The 'Reads the local account' fragment is mildly redundant with readOnlyHint, which is the only slack in an otherwise tight definition.

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 formatting need not be explained, and the schema fully documents both parameters. The description supplies purpose, mutation behavior, valuation semantics and sibling routing — everything an agent needs to select and call it.

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%, so both 'format' (with its enum-like choices) and 'account' are fully documented in the schema, and the description adds no param-level meaning. A baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Render one account's ROI, Sharpe, win rate and P&L as a postable text card') and immediately names the scope ('one account'). It is clearly distinguishable from stats, pk_card and share_content, which are named explicitly.

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?

The final sentence routes the agent explicitly: 'Use stats for raw numbers, share_content for platform and template choices, or pk_card to compare two accounts.' This tells the agent which sibling to pick and under what condition, leaving nothing to inference.

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