Skip to main content
Glama

Arquivix Notas · NFS-e

webhook_delivery_retry

Sends one notice (webhook) again to the customer's system, with the exact same event, for a delivery that is "failed" or "delayed". A delivery sent more than 30 days ago has its content erased and answers WEBHOOK_DELIVERY_CONTENT_ERASED. It is queued and sent within about a minute; the result shows on the delivery afterwards.

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": {
      "delivery_id": "<delivery_id>"
    },
    "name": "webhook_delivery_retry"
  }
}

Input Schema

NameRequiredDescriptionDefault
delivery_idYesUUID of the delivery

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds the genuinely non-obvious behaviors: the 30-day retention cutoff with its specific error token WEBHOOK_DELIVERY_CONTENT_ERASED, that the retry is queued rather than synchronous (~1 minute), and that success is observed on the delivery record afterwards. It also makes clear the original event is resent verbatim rather than a new one being created, which matters given idempotentHint=false.

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 the action and its scope, followed by the failure mode and then the async timing. No filler; each sentence introduces a distinct piece of decision-relevant information.

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

Completeness5/5

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

No output schema exists, yet the description covers what the caller needs about results: a specific error code for erased content, asynchronous dispatch with a rough delay, and where the outcome becomes visible. For a single-parameter mutation tool this is sufficient to call it correctly.

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% for the single delivery_id parameter, so the baseline of 3 applies. The description adds the implicit constraint that the referenced delivery must be in failed/delayed state, but nothing about identifier format beyond what the schema states.

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?

States a specific verb and resource ('sends one notice (webhook) again') plus the exact scope: the same event, and only for deliveries in 'failed' or 'delayed' state. That precondition alone separates it from webhook_deliveries_list and any new-send path.

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?

Explicitly bounds when this applies ('for a delivery that is "failed" or "delayed"'), which implies the tool is wrong for other states and that the caller must first know the delivery state. It stops short of naming the sibling to use for finding or inspecting deliveries, so the routing to webhook_deliveries_list is left 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