Skip to main content
Glama

Contazz AutoPilot

Registrar Webhook

subscribe_webhook
Destructive

Registra uma URL de webhook para receber notificações em tempo real de eventos da empresa (cobrança paga, NFS-e emitida, etc). Eventos são assinados com HMAC-SHA256.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL do webhook (HTTPS obrigatório em produção)
eventsYesLista de eventos para receber notificações
empresaIdNoID da empresa

Schema Changelog

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

  1. Added

TDQS

A3.5/5.0
Behavior1/5

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

The description says the tool 'Registra' a webhook, implying a non-destructive creation operation, yet the annotation has destructiveHint=true. This is a direct contradiction: registering a webhook does not normally destroy data, and the description adds no mention of overwriting or other destructive effects. The HMAC-SHA256 detail cannot reconcile this mismatch.

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 two sentences, front-loaded with the primary action, and includes a relevant security detail without repetition of schema information. Every word earns its place.

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

Completeness3/5

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

The tool is simple and the schema covers parameters, but the description omits expected success/error behavior and fails to explain the destructiveHint annotation. While the HMAC note adds value, the unresolved contradiction leaves the description incomplete for robust agent decision-making.

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 coverage is 100%, so the baseline is 3. The description mentions event examples already present in the schema's enum and adds no extra meaning about URL format, empresaId, or array structure. The HMAC note is behavioral, not parameter-specific.

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 leads with 'Registra uma URL de webhook' (registers a webhook URL), a specific verb and resource, and clarifies the purpose: receiving real-time company event notifications. This clearly distinguishes it from siblings like 'listar_webhooks' and 'cancelar_webhook'.

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 states the context for use — 'para receber notificações em tempo real de eventos da empresa' — and gives concrete event examples. It provides clear context without explicitly excluding alternatives, which is acceptable given the obvious differentiation from sibling tools.

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

B3.1/5.0
Disambiguation3/5

Many tools have distinct purposes, but several overlap: 'calcular_cbs_ibs' and 'consultar_aliquota_cbs_ibs' both deal with CBS/IBS rates, 'criar_cobranca' and 'criar_cobranca_pix' create similar things, and multiple metrics tools (dashboard_executivo, saude_financeira, autopilot_regua) could confuse an agent. The reconciliation_* group is well-differentiated, but overall the large, overlapping surface creates ambiguity.

Naming Consistency2/5

Names mix Portuguese and English inconsistently (e.g., 'agendar_cobranca' vs. 'subscribe_webhook'). Most Portuguese names follow verb_noun, but many English names are noun_verb (e.g., 'reconciliation_execute') rather than verb_noun. Additionally, some names are vague or non-descriptive ('autopilot_regua', 'badges_contadores', 'metricas_escritorio'), breaking any predictable pattern.

Tool Count2/5

61 tools is excessive for most MCP servers, even for a broad financial/fiscal automation domain. The count feels bloated, and several tools (e.g., criar_orcamento, listar_orcamentos) are dead weight being deactivated. This would likely be better split into multiple focused servers (e.g., cobranças, reconciliation, fiscal).

Completeness3/5

The tool surface covers many workflows: cobranças, NFS-e, reconciliation, tax simulation, dashboards, webhooks, and client insights. However, there are notable gaps in basic CRUD: no update/delete for cobranças or clientes, and no way to manage orcamentos (they're deactivated). The reconciliation module is very complete, but the overall surface has dead ends and missing lifecycle operations.

Resources