Skip to main content
Glama

Run transactions analysis

run_transactions_analysis

Budget-wide Gemini Transactions Analysis (linked-accounts plan-vs-reality ~30d; drift/match/missing/unplanned). Pro or Ultra only (Free: 1 review a day in the app). Consumes one daily review (Pro 2 / Ultra 4 per day, then Reviews packs). Not for scoped box/account/expense questions. Prefer get_transactions_analysis first; only run when missing/outdated and the user wants that full drift review or explicitly refreshes. Over quota → resource_exhausted.

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

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
includeDismissedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description adds the real behavioural cost — it consumes one daily review (Pro 2 / Ultra 4 per day, then Reviews packs), is gated to Pro/Ultra plans (Free gets one app review a day), and returns resource_exhausted when over quota. These are consequences an agent cannot infer from the structured fields.

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?

Front-loaded with the resource and scope, then the gating/preference rules, with no filler sentences. It is dense and telegraphic ('~30d; drift/match/missing/unplanned'), which costs some readability but every clause carries operational information.

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 quota-consuming, plan-gated analysis tool, the definition covers entitlement, cost per call, exhaustion behaviour, and the preferred read-before-run path. What is missing is any mention of what the analysis produces, though with no output schema and a single required id the remaining gap is modest.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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, and it only implies budgetId via 'Budget-wide'. The includeDismissed parameter is never mentioned — an agent gets no signal about whether dismissed findings should be counted or how that changes the review.

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?

States a specific verb and resource (run / Gemini Transactions Analysis) plus scope (budget-wide, linked-accounts plan-vs-reality ~30d) and enumerates the finding types (drift/match/missing/unplanned). It also explicitly excludes scoped box/account/expense questions, which separates it from the adjacent get_transactions_analysis without opening either 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?

Gives an explicit ordering rule: 'Prefer get_transactions_analysis first; only run when missing/outdated and the user wants that full drift review or explicitly refreshes.' It also states a negative condition (not for scoped box/account/expense questions), so both when-to-use and when-not-to-use are covered.

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