Skip to main content
Glama
CoinRithm

CoinRithm/coinrithm-agent-trading

Official

Get equity curve

get_equity_curve
Read-only

Get the equity time series for your paper trading account to analyze performance over a specified look-back window. Supports daily or realized event-based granularity.

Instructions

Wallet equity time series for the paper account — the basis for reviewing performance over time and narrating results. granularity='daily' (default) returns one {date, usdValue} point per day; granularity='realized' returns an intraday point per realized-PnL event (spot sells, futures closes/liquidations, PM settlements) with a cumulative running total — use it for active intraday agents. days = look-back window (1-365, default 30). Paper trading only — virtual funds (50,000 mUSD). Not financial advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLook-back window in days (1-365, default 30).
granularityNodaily (default) = one point per day; realized = intraday point per realized-PnL event with cumulative total.
agentTraceNoOptional private trace metadata stored in the caller's ledger.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
httpStatusYesHTTP status returned by CoinRithm, or 0 for network errors.
okYesTrue when CoinRithm returned a successful 2xx response.
ledgerEventIdNoPrivate AgentActionEvent id returned by /api/agent/*, when present.
ledgerStatusNoLedger write status header returned by CoinRithm, when present.
bodyNoParsed CoinRithm response body, or raw text when the response is not JSON.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral details: returns points per day or per realized event with cumulative totals, days range (1-365, default 30), and the note 'Not financial advice'. No contradictions.

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?

The description is four sentences, front-loaded with the main purpose, and each sentence adds essential information without redundancy.

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?

Given the presence of an output schema (not shown but indicated), the description covers the key aspects: what the tool returns, parameter options, and context (paper trading, not financial advice). It is sufficient for an agent to understand usage.

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 coverage is 100% with descriptions for each parameter. The description adds extra context: for granularity, it explains the exact return format ({date, usdValue} for daily, intraday with cumulative for realized). For days, it restates default 30. This adds value beyond the schema.

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?

The description clearly states it returns a wallet equity time series for the paper account, with specific verb 'get' and resource 'equity curve'. It distinguishes granularity options (daily vs realized) and mentions paper trading, setting it apart from sibling tools like get_portfolio or get_performance.

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?

The description explains when to use daily (standard performance review) vs realized (active intraday agents). It also notes the paper trading context. However, it does not explicitly state when not to use this tool or list alternative tools for different contexts.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoinRithm/coinrithm-agent-trading'

If you have feedback or need assistance with the MCP directory API, please join our Discord server