Skip to main content
Glama
WeeCi

Mektup-mcp

set_mailbox_webhook

Set an HTTPS webhook URL for a mailbox to receive POST requests on every new inbound message, so agents avoid polling. A signing secret enables HMAC-SHA256 payload verification.

Instructions

Set or update the URL that fires on every new inbound message to this mailbox - the way an agent finds out about new mail without polling list_messages. Must be https. Returns a signing secret the FIRST time it's set (or if regenerateSecret is passed) - shown once, not recoverable later. Every delivery is a POST with an X-Mektup-Signature: sha256= header, an HMAC-SHA256 of the raw JSON body using that secret - verify it before trusting a payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYeshttps:// URL to POST new-mail events to
domainYesA domain, e.g. example.com
localPartYesThe part before @, e.g. "hello" for hello@example.com
regenerateSecretNoIssue a new signing secret even if one already exists - invalidates the old one

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.5

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses that the action is a one-time secret reveal, that regenerateSecret invalidates the old secret, that deliveries are HTTPS POSTs, and exactly how to verify the HMAC signature before trusting payloads.

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?

Every sentence earns its place: purpose, security constraint, one-time secret behavior, and signature verification details. The most important usage guidance is front-loaded before implementation specifics.

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-setup tool with no output schema, the description covers the essential return value (signing secret, shown once), the delivery mechanism, and verification steps. Nothing required to call the tool correctly or handle its response is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema: the URL must be https and is invoked on every inbound message, and regenerateSecret relates to first-time secret issuance and one-time visibility. This enriches the parameters without repeating the schema verbatim.

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-resource pair ('set or update the URL') and the exact mailbox scope. It clearly differentiates itself from polling list_messages and from sibling webhook tools by describing what this endpoint creates and what happens on delivery.

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 positions the tool as the alternative to polling list_messages for discovering new mail, giving clear when-to-use context. It does not explicitly mention get_mailbox_webhook or delete_mailbox_webhook as exclusions, but the primary decision between polling and webhook is addressed directly.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WeeCi/mektup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server