Skip to main content
Glama

pagarme_legacy_balance

Read-onlyIdempotent

Leitura da API LEGADA V1–V4 do Pagar.me (modelo "transactions"). Ativa quando a conexão usa uma chave ak_… (contas ainda não migradas pra V5). As 4 versões legadas compartilham estes endpoints; diferenças de campo entre V1/V2/V3/V4 vêm cruas no payload. Ações:

  • list_transactions / get_transaction (requer transaction_id)

  • list_subscriptions / list_plans / list_payables / list_recipients / list_customers / list_transfers

  • balance: saldo da conta Filtros de lista (count, page, status, …) via data (JSON).

[Flattened action: balance]

Bulk support: accepts transaction_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
accountNo
transaction_idNo
transaction_idsNo

Schema Changelog

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

  1. First observed

TDQS

D1.6/5.0
Behavior2/5

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

Annotations (readOnlyHint=true, idempotentHint=true) align with the 'Leitura' mention, but the description then adds 'Bulk support' and a list of endpoints without explaining behavior beyond reading. The mixed messaging reduces transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is verbose and includes a bullet list of unrelated actions, making it unfocused. The structure is cluttered, and the 'Flattened action: balance' line is unclear. It is not concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (many sibling tools, no output schema, unannotated parameters), the description is insufficient. It fails to differentiate this tool from similar legacy tools and omits critical usage context.

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

Parameters1/5

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

The input schema has four parameters (data, account, transaction_id, transaction_ids) with zero schema description coverage. The description does not explain any parameter or how to use them, leaving the agent without semantic guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The tool name is 'pagarme_legacy_balance', suggesting a balance-specific function. However, the description lists numerous other actions (list_transactions, get_transaction, etc.) that belong to separate sibling tools, creating confusion about the tool's actual purpose.

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

Usage Guidelines1/5

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

No guidance is provided on when to use this tool versus the many sibling tools that cover the listed actions (e.g., pagarme_legacy_list_transactions). The description does not clarify the intended scope.

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.