Skip to main content
Glama
mailkite

MailKite

Official

mailkite_set_tracking_webhook

DestructiveIdempotent

Set a dedicated HTTPS endpoint to receive signed email engagement events (sent, bounced, complained, opened, clicked) separately from inbound mail, so tracking data never mixes with incoming messages.

Instructions

Set or replace the domain's dedicated tracking-event webhook: an HTTPS endpoint that receives signed email.* engagement events (email.sent / email.bounced / email.complained / email.opened / email.clicked, shaped per the tracking-event schema) SEPARATELY from inbound mail. This is the split-endpoint override for consumers that keep engagement events away from their inbound webhook (e.g. django-anymail's paired views); most consumers should prefer setWebhookEvents, which delivers everything to the one inbound webhook. When both are configured, this URL wins for engagement events. Returns the signing secret (the same account secret as inbound deliveries). Requires a management session token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPath parameter `id`.
urlYesHTTPS endpoint to receive signed email.* engagement events (sent/bounced/complained/opened/clicked). Deliberately separate from the inbound-mail webhook, so inbound consumers never see event types they don't expect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=true) are consistent with 'Set or replace,' and the description adds substantive behavioral context beyond annotations: it returns the signing secret, requires a management session token, and explains that this URL wins for engagement events when both webhooks are configured. No contradiction with annotations.

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 dense but every sentence earns its place: it defines the action, lists events, explains the split-endpoint rationale, names the preferred alternative, gives precedence, return value, and auth requirement. Front-loaded with the core purpose before contextual guidance.

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?

For a webhook-configuration tool with no output schema, the description covers what it does, when to use it, how it differs from alternatives, precedence, return value (signing secret), and authentication. The reference to the tracking-event schema is sufficient for the endpoint format. No critical gap remains.

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%, and the url parameter's description is already rich (HTTPS endpoint, event types, separation from inbound). The tool description mostly restates the same semantics and does not add new meaning for either parameter; baseline 3 is appropriate.

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 names a specific verb and resource: 'Set or replace the domain's dedicated tracking-event webhook,' listing the exact engagement events (email.sent/bounced/complained/opened/clicked) and explicitly distinguishing it from the inbound-mail webhook. It also contrasts with the sibling setWebhookEvents, so an agent clearly knows what this tool does and how it differs.

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

Usage Guidelines5/5

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

The description explicitly says 'most consumers should prefer setWebhookEvents' and gives the condition for using this tool: 'consumers that keep engagement events away from their inbound webhook (e.g. django-anymail's paired views).' It also states precedence when both are configured, providing unambiguous selection guidance.

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

Install Server

Other Tools