Skip to main content
Glama
Actual MCP

Actual MCP

Buscar transações

get_transactions
Read-only

Retrieve and filter Actual Budget transactions by date range, account, category, payee/notes search, or uncategorized status; defaults to current month. Negative amounts are outflows.

Instructions

Busca transações num período, em uma conta ou em todas as contas abertas. Splits aparecem como linhas separadas (split_of = id da transação mãe). Valores negativos são saídas. Padrão: mês atual.

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

Input Schema

NameRequiredDescriptionDefault
toNoData final YYYY-MM-DD (padrão: hoje)
fromNoData inicial YYYY-MM-DD (padrão: dia 1 do mês atual)
limitNo
searchNoFiltra por trecho do payee ou das notas
accountNoNome ou id da conta (padrão: todas as abertas)
categoryNoNome ou id da categoria
uncategorizedNoSó transações sem categoria (ignora transferências)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavioral context: splits surface as separate rows with 'split_of' pointing at the parent transaction id, and negative values represent outflows — both essential for interpreting results correctly.

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?

Four short sentences, all front-loaded with substance: scope, then result-shape caveats, then sign convention, then default. No filler or repetition of the tool name.

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 query with no output schema and 86% parameter coverage, the definition covers the hardest part — how splits and negative amounts appear — which the schema cannot convey. It omits ordering and how 'limit' interacts with the result set, a small residual gap.

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 86%, so the baseline is 3. The description's 'Padrão: mês atual' and 'todas as contas abertas' largely restate defaults already documented in the schema; it adds no syntax or format detail beyond that, though the sign convention and split-row behavior clarify what the returned values mean.

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 ('Busca transações') plus the scope ('num período, em uma conta ou em todas as contas abertas'). No sibling in the provided list returns transactions, so no disambiguation is needed and the agent can select it confidently.

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 scope statement implies when the tool applies (date-range/account queries) and the default period is stated, but there is no explicit when-to-use vs. when-not guidance and no mention of alternatives such as spending_by_category for aggregates. Usage is inferable rather than taught.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.