Skip to main content
Glama

Stone Pagamentos 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. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses critical behavioral nuances: it overrides Pluggy's automatic categorization, creates a persistent Category Rule affecting future transactions, and explains batch error handling ('per-item errors do not fail the whole batch'). This adds substantial context that annotations alone do not provide.

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?

The description is concise yet information-dense: three sentences covering the action, the side effect, and the batch response shape. Every sentence adds value without redundancy, and the structure flows logically from what to how to what to expect.

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?

The tool has a single parameter and no output schema, but the description includes the full return shape ('returns { updated, results: [...], errors: [...] }'), explains input semantics, and warns about the learning side effect. This makes it self-sufficient for an agent to use correctly, covering all necessary context.

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?

With 0% schema description coverage, the description compensates by fully explaining the `items` parameter structure and the provenance of its fields: 'transaction_id comes from openfinance_list_transactions, category_id from openfinance_list_categories'. This gives the agent critical knowledge to invoke the tool correctly, far beyond the raw schema.

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 tool's function: 'Corrects the category of one or more transactions' with the specific HTTP method (PATCH /transactions/:id). It identifies the resource (transactions) and the action (correcting category), distinguishing it from sibling tools like openfinance_list_transactions or openfinance_force_sync.

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 explicitly says 'use this to fix miscategorized transactions and improve categorization accuracy going forward', providing clear when-to-use context. It also explains the side effect of creating a Category Rule, which is important for deciding when to invoke. However, it does not mention alternatives or explicitly state when not to use it, so it misses the full 'when-not/alternatives' criterion.

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

A4.1/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, especially within the openfinance_* group (list vs get vs sync vs status). A few potential overlaps exist (e.g., openfinance_list_transactions vs openfinance_list_transactions_by_item, openfinance_get_account_balance vs openfinance_list_accounts), but descriptions are detailed enough to guide correct selection.

Naming Consistency4/5

The openfinance_* tools follow a consistent verb_noun pattern (e.g., openfinance_list_accounts, openfinance_get_item_status). However, non-openfinance tools (authenticate, connect, marketplace, toolkit_info) use a different style, and one tool (openfinance_list_transactions_by_item) breaks the pattern slightly. Overall readable and predictable within the primary domain.

Tool Count3/5

With 25 tools, the count is on the heavy side per the calibration rubric (16-25 feels heavy). The server covers a broad financial data domain, which justifies the number, but it may present a steep learning curve and potential overwhelm for agents.

Completeness4/5

The tool surface is comprehensive for read-only Open Finance data access: accounts, transactions, balances, bills, loans, investments, category management, connection lifecycle, and status monitoring. Minor gaps exist (e.g., no direct payment initiation, no investment transaction creation), but for the stated purpose of data and analysis, coverage is strong.