Skip to main content
Glama

Largest transactions

get_top_transactions
Read-onlyIdempotent

List the highest-value income or expense transactions for a date range, sorted by amount (highest first).

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": "get_top_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoTransaction type (default: expense)
limitNoMax transactions to return, up to 10 (default: 10)
endDateNoEnd date in YYYY-MM-DD format (default: today)
startDateNoStart date in YYYY-MM-DD format (default: 30 days before endDate)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds the sort order and the income-vs-expense split, which are useful behavioral facts, but says nothing about edge cases such as empty result sets or how ties are broken.

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?

A single sentence with the core action and the ranking rule front-loaded, and no redundant restatement of defaults or limits that the schema already provides. Nothing could be removed without losing meaning.

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 simple read-only list tool with full schema coverage and explicit annotations, the description is largely sufficient to call it correctly. The one gap is that with no output schema, the agent is not told what fields each returned transaction includes, though the 'sorted by amount' hint covers the main ordering expectation.

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 coverage is 100%, so all four parameters already carry their own descriptions including defaults and the limit of 10. The description only echoes the type choice and date range while adding the sort ordering, so it meets but does not exceed the baseline 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('List') and resource ('highest-value income or expense transactions') plus the ranking behavior ('sorted by amount, highest first'), which distinguishes it from the broader transaction listings. It stops short of naming a sibling like get_transactions or search_transactions, so the differentiation must be inferred from the 'highest-value' qualifier.

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?

The 'highest-value ... for a date range' phrasing implies the intended use case (top-N ranking within a period), but there is no explicit when-to-use guidance and no statement about when to prefer get_transactions or search_transactions instead. An agent must infer the selection rule from wording alone.

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