Skip to main content
Glama

Adicionar créditos de notas

comprar_creditos

Gera um link de pagamento (Pix/cartão) para adicionar créditos de notas. Não cobra nada: o pagamento acontece no navegador do usuário e as notas entram após a confirmação.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "valor_centavos": "<valor_centavos>"
    },
    "name": "comprar_creditos"
  }
}

Input Schema

NameRequiredDescriptionDefault
valor_centavosYesValor da recarga em centavos: 1000 (R$10), 2500 (R$25), 5000 (R$50) ou 10000 (R$100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is already covered. The description adds genuinely new behavioral context: the call itself charges nothing, payment is completed in the user's browser, and credits only land after confirmation. It does not spell out that repeated calls create separate links (consistent with idempotentHint=false), which is why this is not a 5.

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?

Two short sentences, front-loaded with what the tool does and followed immediately by the constraint that matters most (no charge happens here). Every clause carries information; nothing is repeated from the title or annotations.

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 one-parameter tool with full schema coverage, complete annotations and no output schema, the description covers the essential flow: it produces a link, payment is external, credits arrive asynchronously. The only mild gap is that it does not say what the caller should do with the returned link or how to verify that credits were later applied.

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?

The single parameter is fully documented in the schema, including an enum with all four values and their real-currency equivalents, giving 100% schema coverage. The description adds no further meaning about the amount parameter or its allowed values. A baseline 3 is appropriate when the schema does all the work.

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 states a concrete verb and resource: it generates a payment link (Pix/card) that adds note credits. That is specific enough to separate it from siblings such as saldo or emitir_nota, which deal with balance queries or issuing notes rather than topping up credits. It stops short of naming any sibling explicitly, so it lands just under the top mark.

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?

Usage is only implied: an agent can infer this is called when the user needs to buy more note credits. There is no statement of when not to call it, no pointer to saldo for checking current balance, and no mention of prerequisites or of what to do with the returned link. Guidance is adequate but leaves routing decisions to inference.

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.

Resources