Skip to main content
Glama

Hedgr FX Risk & Hedging

get_transaction_log_summary

Read-only

Use this when the user asks which invoices or bank rows make up their FX gains and losses, or wants to see the rows behind a P&L figure. Returns a safe read-only transaction-log summary for Explain > Detailed Transaction Logs: top open-invoice unrealised FX rows, settled-invoice realised FX rows, bank/cash rows, counts, and row provenance. Do not use for raw accounting exports or for editing records: the tool does not expose raw provider payloads, hidden reconciliation notes, credentials, or private calculation internals. Also returns invoice_rows: the ranked (open first, largest base equivalent first) invoice table the in-app Scout assistant reads, home-currency rows included, capped at 80 rows with invoice_rows_total for the true book size.

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

Input Schema

NameRequiredDescriptionDefault
currencyNoISO 4217 code to filter to one currency (e.g. 'EUR', 'USD'). Omit for all currencies.
entity_idNoSpecific entity ID from list_entities. Omit for the whole workspace (all entities).

Output Schema

NameRequiredDescriptionDefault
dataYesTool-specific payload. Null when connection_status.state is 'setup_required'.
connection_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, but the description adds real behavioral context beyond them: the data-boundary disclosure that no raw provider payloads, reconciliation notes, credentials, or calculation internals are exposed, plus the row cap of 80 with invoice_rows_total for true book size. That cap and the exclusion list are exactly the facts an agent needs to set expectations and avoid over-claiming completeness.

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?

Usage guidance is front-loaded in the first sentence and exclusions immediately follow, so the structure serves scanning. The closing invoice_rows sentence is information-dense and slightly overstuffed (ranking rule, home-currency inclusion, cap, total), which costs a point but the content is largely load-bearing.

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?

An output schema exists, yet the description still pre-frames the key sections and the truncation behavior, so an agent understands both scope and limits before calling. For a read-only scope-filtered report tool, nothing material is missing.

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 both parameters (currency, entity_id) are fully documented in the schema, so the baseline applies. The description adds no additional meaning about filtering behavior, though its broad 'whole-workspace' framing is consistent with the schema's omit-both default.

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 names a specific verb and resource ('Returns a safe read-only transaction-log summary for Explain > Detailed Transaction Logs') and enumerates the exact content: open-invoice unrealised FX rows, settled-invoice realised FX rows, bank/cash rows, counts, and provenance. It also disambiguates from nearby tools like get_pnl_attribution and get_export_manifest by framing it as the row-level drill-down behind a P&L figure.

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

Usage Guidelines5/5

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

It gives an explicit triggering condition ('when the user asks which invoices or bank rows make up their FX gains and losses, or wants to see the rows behind a P&L figure') and an explicit when-not ('Do not use for raw accounting exports or for editing records'). Nothing about selection is left to 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