Skip to main content
Glama

svix

Recover an endpoint's failed messages

svix_recover_endpoint
Destructive

Replay every failed message for one endpoint since a timestamp. Runs as a background task — follow it with svix_list_background_tasks. Svix REST: POST /api/v1/app/{app_id}/endpoint/{endpoint_id}/recover.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceYesISO-8601 start of the replay window, e.g. 2026-08-01T00:00:00Z.
untilNoISO-8601 end of the replay window. Defaults to now.
app_idYesThe application's Svix id or uid.
endpoint_idYesThe endpoint to recover.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations give only destructiveHint=true plus a title, so the description usefully adds that this runs as a background task and must be polled via svix_list_background_tasks. It does not disclose the destructive side of a replay (possible duplicate deliveries to the endpoint, or permission requirements), which is the main behavioral gap.

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?

Three short sentences, front-loaded with the action and scope, then async behavior, then the raw REST route. The REST endpoint line is the least load-bearing for an agent that only invokes the MCP tool, keeping it just below a perfect score.

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 4-param mutation with no output schema, it covers the essentials: what is replayed, the time window, and that completion must be tracked via svix_list_background_tasks. Remaining gaps are side-effect details (duplicates, permissions, partial failure) rather than anything needed to construct the call.

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% — since/until are documented as ISO-8601 window bounds, app_id and endpoint_id as identifiers. The description restates the 'since a timestamp' window without adding format, default, or edge-case detail beyond the schema, so baseline 3 applies.

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 with scope: 'Replay every failed message for one endpoint since a timestamp.' The scope ('every failed message for one endpoint') implicitly separates it from svix_resend_message, which re-sends a single message, so an agent can pick correctly without opening either schema.

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?

Use context is clear (bulk replay of failures for one endpoint since a timestamp) and it names the required follow-up tool, svix_list_background_tasks, which tells the agent the call is asynchronous. It stops short of explicit when-not guidance, e.g. when to use svix_resend_message instead for a single message.

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.