Skip to main content
Glama

register_mailbox_webhook

Register a webhook to receive real-time POST notifications for email events like delivery, bounced, and complaints on a project mailbox.

Instructions

Register a webhook on the project's mailbox. Receives POST notifications for email events (delivery, bounced, complained, reply_received).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
urlYesWebhook callback URL
eventsYesEvents to subscribe to. Valid: delivery, bounced, complained, reply_received
mailboxNoTarget mailbox by slug or id; omit only when the project has exactly one mailbox.
Behavior2/5

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

No annotations provided. Description does not disclose behavior such as whether creating a duplicate webhook overwrites or fails, any idempotency, or authentication requirements. Only mentions receiving POST notifications.

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 concise sentences that are front-loaded with the primary action. No extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema. The description does not mention what the tool returns (e.g., webhook ID, secret, confirmation). For a registration tool, this is a significant gap in completeness.

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?

Input schema covers all 4 parameters with descriptions. The description adds value by specifying that the 'mailbox' parameter can be omitted if the project has exactly one mailbox, providing useful conditional logic not in the schema.

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?

Clearly states the verb 'register' and the resource 'webhook on the project's mailbox'. Lists specific events handled, distinguishing it from siblings like delete or update webhook tools.

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 description implies when to use (to subscribe to email events) but does not explicitly differentiate from update or delete webhooks. However, the name and context make it clear it's for registration.

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

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/kychee-com/run402'

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