Skip to main content
Glama

get_gl_transactions_aggregated

Read-onlyIdempotent

Transaction lines summed per cost centre, cost unit, administration, GL account, financial year and period (FR-27). Amounts are in the administration currency (the currency / currency_code column where present, otherwise the division default). This is the cheap way to answer "how much was booked on X".

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_gl_transactions_aggregated"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (default 100, at most 400). A larger page is refused as too_broad.
offsetNoRows to skip, for paging.
tenant_idNoThe tenant to query. Required when you have access to more than one tenant; may be omitted when you have exactly one. Call list_tenants for the ids.
division_idNoRestrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / division_id / description
      Previous value: -"Restrict the answer to one administration (Exact Online division). Omit to cover every administration you have access to. It can only narrow your access, never widen it."New value: +"Restrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds useful but limited behavioral context: the aggregation dimensions and the currency resolution rule. It does not discuss pagination or performance limits beyond what the schema covers.

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 operation and grouping grain. The currency note and the use-case sentence both add useful information, with no obvious filler.

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 aggregation endpoint with no output schema and fully documented parameters, the description supplies the essential grain and currency semantics. It could say more about how to choose between this and raw transaction tools, but it is complete enough to call correctly.

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%, and all four parameters are documented in the input schema. The description does not add parameter-level syntax, defaults, or constraints beyond that, so the baseline 3 applies.

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 names a specific operation (transaction lines summed) and enumerates the aggregation grain (cost centre, cost unit, administration, GL account, financial year, period), so the agent knows this is a grouped totals tool rather than raw-line retrieval. It does not explicitly contrast with sibling raw/transaction tools such as get_gl_transactions, which keeps it short of a 5.

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 phrase "cheap way to answer 'how much was booked on X'" signals the intended use case for aggregate totals and implies that detail-level queries belong elsewhere. It gives no explicit when-not conditions and never names the sibling alternatives, so routing depends on inference.

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