Skip to main content
Glama

Consultar webhook de cobranças

inter_consultar_webhook
Read-onlyIdempotent

Diagnose Banco Inter webhook notifications by showing the registered charge webhook and recent callbacks, with success or failure status, to fix missing automatic boleto settlement alerts.

Instructions

Diagnóstico das notificações automáticas do Inter: mostra o webhook cadastrado para cobranças (host e caminho) e, se pedido, os últimos avisos (callbacks) enviados pelo Inter, com sucesso ou falha, numa janela de até 7 dias. Use quando um sistema não recebeu a baixa automática de um boleto pago. Exemplo: 'o Inter avisou o pagamento da cobrança X?' -> incluir_callbacks=true, codigo_solicitacao=''.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inter_consultar_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
ateNoFim da janela (ISO 8601). Padrão: agora. Máximo de 7 dias de janela.
desdeNoInício da janela (ISO 8601, ex.: 2026-12-01T00:00:00-03:00). Padrão: 24 h atrás.
paginaNoPágina dos avisos (começa em 0)
response_formatNo'markdown' para texto legível (padrão), 'json' para dados estruturadosmarkdown
incluir_callbacksNoTambém listar os avisos enviados pelo Inter
codigo_solicitacaoNoCódigo da cobrança no Inter (codigoSolicitacao, UUID). Obtenha com inter_listar_cobrancas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.5

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety and idempotency need no restating. The description still adds real context beyond them: the 7-day maximum window, the default 24-hour lookback, that callbacks are only fetched when requested, and that each callback is reported with success or failure. It does not say what happens when no webhook is registered or how pagination terminates.

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?

Three sentences, front-loaded with what is returned, then when to use it, then a worked example. Each sentence carries distinct information and nothing is repeated from the schema 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?

With no output schema, the description correctly takes on the job of describing the return payload (webhook host/path plus callbacks with outcome). Annotations carry the safety profile and the schema carries parameter formats, so remaining gaps are minor: pagination behaviour for the callbacks list and the empty-webhook case are unstated.

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?

Schema description coverage is 100%, so every parameter is already documented in the input schema, including the UUID pattern and the pointer to inter_listar_cobrancas for obtaining codigo_solicitacao. The description's example adds a small amount of meaning by showing which parameters to combine for the diagnostic question, but it introduces no format or constraint details the schema lacks.

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 specific resource and verb: it surfaces the registered webhook for boletos (host and path) and, optionally, recent callbacks with success/failure status within a 7-day window. That is far more concrete than the title alone. It does not, however, explicitly contrast itself with a plausibly overlapping sibling such as inter_verificar_configuracao, so the boundary is left to inference.

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?

It gives an explicit triggering scenario: 'Use quando um sistema não recebeu a baixa automática de um boleto pago.' It reinforces this with a concrete question-to-parameters mapping ('o Inter avisou o pagamento da cobrança X?' -> incluir_callbacks=true, codigo_solicitacao='<UUID>'). It stops short of saying when NOT to use it or naming an alternative tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.