Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

motorical_webhook_get_stats

Read-onlyIdempotent

Retrieve delivery success and failure counts plus average latency for a webhook endpoint over a chosen time window, so you can monitor webhook reliability and spot delivery issues.

Instructions

Delivery success/failure counts and average latency for one webhook endpoint over a time window. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows).

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": {
      "webhookId": "<webhookId>"
    },
    "name": "motorical_webhook_get_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoDefault 24, max 168 (7 days)
webhookIdYesThe webhook endpoint id, from motorical_webhook_list or the create response
motorBlockIdNoRequired when the authorization covers more than one Motor Block

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower; the description still adds an auth requirement that annotations do not carry. It does not describe return shape or how failures are counted, but that is a minor omission for a read-only stats call.

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 sentences, zero waste: the metric set is front-loaded and the auth prerequisite follows. Nothing is repeated verbatim from the annotations or restated as tautology.

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 usefully enumerates what comes back (success/failure counts, average latency), which is the main thing an agent needs. The auth and multi-block prerequisites are covered via schema and description, leaving little an agent would have to guess.

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 webhookId, hours default/max, and motorBlockId multi-block condition are already documented in the schema. The description only echoes 'one webhook endpoint over a time window', adding no format or constraint detail beyond the schema.

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?

States a specific resource ('one webhook endpoint') and concrete outputs (delivery success/failure counts, average latency, time window). It is clearly an aggregate-stats tool rather than a per-delivery listing, though it never names motorical_webhook_get_deliveries as the contrasting sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a hard prerequisite (OAuth scope read:webhooks) and routes the agent to motorical_whoami for scope details, which is real guidance. However, it never states when to pick this over motorical_webhook_get_deliveries or motorical_webhook_list; the aggregate-vs-per-event distinction is only implied.

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

Deploy Server

Other Tools