Skip to main content
Glama

Get transactions analysis

get_transactions_analysis
Read-only

Get cached Transactions Analysis: linked-accounts plan-vs-reality overview (drift/match/missing/unplanned across linked evidence). Freshness missing|current|outdated. Not for one box amount, one account balance, or one subscription lookup — use list_expenses / list_transactions. Always call before run_transactions_analysis. If current, use analysis and do not run. Dismissed insights filtered unless includeDismissed is true.

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": {
      "budgetId": "<budgetId>"
    },
    "name": "get_transactions_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
includeDismissedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: the result is cached, carries a freshness state (missing|current|outdated), and filters dismissed insights by default. The only gap is that it never explains how 'outdated' is determined or how stale a cached result can be before the caller should prefer a re-run, which matters given the 'do not run' instruction.

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?

It is dense and front-loaded: purpose first, then freshness, then exclusions, then the ordering rule, then the filter flag — a sensible precedence for an agent scanning for a go/no-go decision. Some phrasing is telegraphic and jargon-heavy ('drift/match/missing/unplanned across linked evidence'), which costs a little readability but no sentence is padding.

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?

With no output schema, the description must convey what comes back, and it does describe the returned analysis (drift/match/missing/unplanned buckets) plus the freshness marker. It stops short of describing the shape of individual insights or how the freshness values should be interpreted, which is the main remaining gap for a cached-read tool that gates a follow-up run.

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?

Schema description coverage is 0%, so the description must carry parameter meaning; it does this well for includeDismissed ('Dismissed insights filtered unless includeDismissed is true'), which would otherwise be an undocumented boolean. budgetId is only implicitly scoped by the tool's subject and gets no direct explanation, so one of two parameters is still undocumented.

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 ('Get cached Transactions Analysis') and immediately defines its scope: a linked-accounts plan-vs-reality overview covering drift/match/missing/unplanned. It also explicitly disclaims adjacent cases ('Not for one box amount, one account balance, or one subscription lookup') and routes those to list_expenses / list_transactions, so the agent can distinguish it from siblings without opening a schema.

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 ordering rule ('Always call before run_transactions_analysis') plus a conditional branch ('If current, use analysis and do not run'), which is exactly the when/when-not guidance an agent needs to avoid a redundant expensive run. Named alternatives for the excluded use cases are also supplied.

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