Skip to main content
Glama

pagarme_subscriptions_write_create

Criar/operar assinaturas no Pagar.me V5 (só sk_; não-destrutivas). Ações:

  • create: cria assinatura (data: customer_id/customer, plan_id ou items[], payment_method, card_id, …).

  • update_card: altera cartão (requer subscription_id; data).

  • update_payment_method: altera meio de pagamento (requer subscription_id; data).

  • update_billing_date: altera data de cobrança (requer subscription_id; data).

  • add_item: adiciona item (requer subscription_id; data).

  • add_usage: registra uso de item medido (requer subscription_id + item_id; data opcional).

[Flattened action: create]

Bulk support: accepts subscription_ids, item_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
accountNo
item_idNo
item_idsNo
subscription_idNo
subscription_idsNo

Schema Changelog

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

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description adds valuable behavioral context beyond annotations, such as the list of actions, bulk support, and required parameters. It confirms non-destructive nature aligning with annotations. However, it does not cover error handling or side effects.

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 fairly concise and well-structured with bullet points. It front-loads the main purpose and action list, though some redundancy exists in repeated parameter mentions.

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?

Given the tool's complexity (multiple actions, bulk support), the description is comprehensive. It covers all actions, required parameters, and bulk execution. Missing output schema is not an issue as it doesn't explain return values.

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?

With 0% schema description coverage, the description partially compensates by explaining the 'data' parameter structure and mentioning parameter requirements per action. However, the format of 'data' as a string is not fully clarified.

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

Purpose4/5

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

The description clearly states the tool is for creating and operating subscriptions, listing specific actions. However, it does not explicitly differentiate from sibling tools like pagarme_subscriptions_write_add_item, which could cause confusion.

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 description provides parameter requirements for each action (e.g., subscription_id for updates) but lacks explicit guidance on when to use this tool versus alternative sibling tools or when not to use it.

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

C2.3/5.0
Disambiguation1/5

The flattened action pattern creates dozens of tools with nearly identical descriptions (e.g., pagarme_charges_get, pagarme_charges_list, pagarme_charges_summary, pagarme_charges_get_many all share the same description except for the action name). An agent cannot easily distinguish which tool performs which specific read operation without parsing the final action line.

Naming Consistency3/5

The Pagar.me API tools follow a consistent pagarme_<entity>_<action> pattern, but the meta-tools (authenticate, connect, marketplace, report_bug, etc.) break the pattern. Additionally, the write/read split is not uniformly applied (some entities separate get/list into tools while others combine them).

Tool Count1/5

86 tools is extremely high for any server. Most of these are redundant: the same operations could be exposed via 5-10 parameterized tools. The flattened action approach inflates the count unnecessarily, creating cognitive overload and search cost for agents.

Completeness3/5

The Pagar.me V5 API coverage is fairly comprehensive across cards, charges, customers, orders, subscriptions, plans, recipients, transfers, and payables. However, the legacy V1-V4 tools duplicate many V5 operations, and there are minor gaps (e.g., no update for cards, no delete for subscriptions). The meta-tools (authenticate, connect, etc.) are unrelated to the payment domain, making the surface feel unfocused.