Skip to main content
Glama

export_transactions

Read-onlyIdempotent

Export this agent's transaction history as JSON or CSV for accounting, optionally for a date range. Read-only. Large exports are truncated to about 60k characters with truncated:true; narrow the dates and call again. REQUIRES AGENT KEY.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format: json or csv. Default jsonjson
end_dateNoInclusive end, YYYY-MM-DD
start_dateNoInclusive start, YYYY-MM-DD
include_pendingNoInclude pending (unsettled) transactions. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / format / description
      Added value: +"Output format: json or csv. Default json"
    • addedInput schema / properties / include_pending / description
      Added value: +"Include pending (unsettled) transactions. Default false"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond annotations, it discloses a real behavioral constraint: exports over ~60k characters are truncated with a truncated:true flag, plus the remediation ('narrow the dates and call again') and an auth prerequisite ('REQUIRES AGENT KEY'). The 'Read-only' sentence merely restates readOnlyHint, but the truncation and auth details are genuinely additive.

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?

Four tight sentences, front-loaded with purpose, then the truncation caveat and auth requirement where they matter. The standalone 'Read-only.' sentence is filler given readOnlyHint, but the overall density is good.

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?

For a read-only export with no output schema, it covers purpose, formats, date scoping, truncation signaling, retry path, and auth. Only the sibling relationship with get_transactions is left unaddressed, which is a minor gap for an otherwise self-contained definition.

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 formats, date formats, and the include_pending default are already documented. The description only restates the format choice and the optional date range, adding no meaning beyond the schema.

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?

The description gives a specific verb and resource ('Export this agent's transaction history as JSON or CSV') plus scope ('this agent's'), so an agent knows exactly what it produces. It does not distinguish itself from the sibling get_transactions, leaving the export-vs-fetch boundary to inference.

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?

It states the intended use case ('for accounting') and that the date range is optional, which implies bulk/reporting usage. It never explicitly says when to prefer this over get_transactions or that no date range means full history, so the when-to-use guidance is only implied.

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.