Skip to main content
Glama

svix

Get endpoint delivery stats

svix_get_endpoint_stats
Read-only

Read delivery statistics for one endpoint — counts of success, pending, sending and fail. The fastest way to see whether an endpoint is healthy. Svix REST: GET /api/v1/app/{app_id}/endpoint/{endpoint_id}/stats.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful context — the exact REST resource path and the four counter buckets returned — but says nothing about the default time window when since/until are omitted or whether counts are windowed or all-time, which materially affects interpretation of the numbers.

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 tight sentences — what it returns first, health-check framing second, REST path last — with no filler. Every clause carries information an agent can use.

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 does the right thing by naming the returned counters. The remaining gap is the time-window behavior of the optional since/until parameters, which an agent must guess before calling.

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 app_id, endpoint_id, since and until are all documented in the schema itself. The description adds nothing about the since/until semantics (defaults, maximum range, required pairing), so the 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 ('Read delivery statistics for one endpoint') and enumerates the returned metrics (success, pending, sending, fail), which no sibling tool offers — svix_list_attempts_by_endpoint returns attempt-level records, not aggregates. An agent can distinguish this from every sibling without opening the 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?

'The fastest way to see whether an endpoint is healthy' gives a clear situation in which to reach for this tool, but offers no exclusions and never names the alternative (e.g. listing attempts) for when per-attempt detail is actually needed. Context is present; routing guidance is not.

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.