Skip to main content
Glama

FarmDash Agent OS

ledger_tax_export

Read-onlyIdempotent

Export recorded spot execution rows as CSV with row count and accounting warnings. Requires Pioneer-equivalent route access plus a wallet-bound API key or matching active session. Futures tax lots require venue fills outside this export.

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": {
      "agentAddress": "<agentAddress>"
    },
    "name": "ledger_tax_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoInclusive ISO 8601 range end. Defaults to now.
startNoInclusive ISO 8601 range start. Defaults to 30 days before now.
sessionIdNoActive FarmDash session ID when authenticating without a wallet-bound API key.
agentAddressYes0x-prefixed EVM agent address bound to the API key or matching session.
sessionTokenNoActive FarmDash session token proving ownership of agentAddress when authenticating without a wallet-bound API key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / agentAddress / description
      Added value: +"0x-prefixed EVM agent address bound to the API key or matching session."
    • addedInput schema / properties / end / description
      Added value: +"Inclusive ISO 8601 range end. Defaults to now."
    • addedInput schema / properties / start / description
      Added value: +"Inclusive ISO 8601 range start. Defaults to 30 days before now."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world. The description adds real value on top: the authorization paths, and what the response actually contains (CSV rows, row count, accounting warnings). It could still say what happens on partial or empty ranges, but the safety and auth picture is well covered.

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 sentences, front-loaded with the action and output, then auth, then scope boundary. No filler and no repetition of schema or annotation content.

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

Completeness4/5

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

No output schema exists, and the description compensates by naming the return payload and its warnings, plus the auth preconditions and the spot-only data boundary. Date-range defaults are left to the schema, which is fine. Complete enough to call correctly.

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?

Coverage is 100%, so the schema baseline is 3, but the description adds the either/or relationship behind authentication — a wallet-bound API key bound to agentAddress versus sessionId/sessionToken proving ownership — which the per-field schema text does not make explicit.

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?

States a specific verb and resource ('Export recorded spot execution rows as CSV') plus the payload contents (row count, accounting warnings). The scope limit 'spot' with futures tax lots excluded narrows it against the closest sibling (ledger_realized_pnl), though that sibling is never named.

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

Usage Guidelines3/5

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

Gives prerequisites (Pioneer-equivalent route access, wallet-bound API key or matching session) and an explicit when-not ('Futures tax lots require venue fills outside this export'). It stops short of naming an alternative tool for PnL or futures-lot needs, leaving the agent to infer the routing.

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.

Resources