Skip to main content
Glama

BTGPactual MCP

openfinance_update_transaction_category

Corrects the category of one or more transactions (PATCH /transactions/:id). Pass items as an array of { transaction_id, category_id } — transaction_id comes from openfinance_list_transactions, category_id from openfinance_list_categories. This overrides Pluggy's automatic categorization AND teaches Pluggy: recategorizing a transaction automatically creates a Category Rule for this client (case-insensitive exact match on the transaction's data), so FUTURE similar transactions are categorized the same way — use this to fix miscategorized transactions and improve categorization accuracy going forward. Batch shape: returns { updated, results: [{ transaction_id, category, categoryId }], errors: [{ id, status, message }] } — per-item errors do not fail the whole batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Discloses critical behavioral traits: overrides automatic categorization, creates a Category Rule for future similar transactions (teaches Pluggy), and describes batch error handling (per-item errors don't fail the whole batch). Annotations (readOnlyHint=false, destructiveHint=false) are consistent; no contradiction.

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?

The description is comprehensive but slightly verbose. It could be slightly more concise (e.g., splitting into bullet points). However, it front-loads the essential purpose and action, and every sentence adds value.

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?

Given a simple input schema (one parameter, no output schema), the description covers the return shape, error handling, and side effects. No gaps remain for a correct invocation. The context is complete.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the description thoroughly explains the `items` parameter: it's an array of objects with transaction_id and category_id, and specifies where to obtain these IDs (from list_transactions and list_categories). Fully compensates for missing schema descriptions.

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 clearly states the action (corrects category of transactions), specifies the HTTP method and endpoint (PATCH /transactions/:id), and distinguishes itself by referencing sibling tools (openfinance_list_transactions, openfinance_list_categories) as sources for inputs. No ambiguity.

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

Usage Guidelines4/5

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

The description explains when to use: to fix miscategorized transactions and improve future categorization. It provides guidance on sourcing transaction_id and category_id from related tools. While it doesn't explicitly state when not to use, the context is sufficient for appropriate selection.

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.

TDQS

A3.9/5.0
Disambiguation4/5

The openfinance_* family is well-decomposed by resource (accounts, transactions, bills, investments, loans, connections) and by action (list, get, update, sync, disconnect), and the highly detailed descriptions make each tool's boundaries clear. A few pairs can be confused at a glance (list_accounts vs. get_account_balance, list_transactions vs. list_transactions_by_item, connect vs. toolkit_info), but the semantics are ultimately distinguishable.

Naming Consistency3/5

The openfinance_* group follows a strong and consistent verb_noun pattern (list_transactions, get_item_status, force_sync). However, the platform-level tools are a mixed bag—authenticate, connect, marketplace, toolkit_info, show_version, report_bug—so there is no single predictable naming scheme across the whole server.

Tool Count3/5

At 25 tools, the server is at the heavy/borderline boundary, though most of the surface area is genuinely needed for Open Finance reads and connection lifecycle management. Some functions overlap (list_accounts returns balances that get_account_balance also exposes), making the set feel slightly bloated and closer to a two-in-one platform (Open Finance + marketplace).

Completeness4/5

The server covers the full Open Finance discovery and connectivity lifecycle: search, reconnect, force sync, provider health, accounts, transactions, credit cards, investments, loans, and category correction. Gaps like initiating a new connection or executing financial movements are handled through connect URLs rather than direct tools, so the unavoidable dead-end is likely workable and the core read/aggregate domain is well covered.