Skip to main content
Glama

update_mailbox_webhook

Update a webhook's URL or replace its event subscriptions. Specify project and webhook ID, optionally target a mailbox.

Instructions

Update a webhook's URL and/or events. At least one field required. Events is a full replacement, not a merge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
webhook_idYesThe webhook ID (whk_...)
urlNoNew webhook URL
eventsNoNew events array (full replacement). Valid: delivery, bounced, complained, reply_received
mailboxNoTarget mailbox by slug or id; omit only when the project has exactly one mailbox.
Behavior4/5

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

With no annotations, the description adds important behavioral detail: 'At least one field required' and 'Events is a full replacement, not a merge.' This helps the agent understand constraints and side effects.

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 with no redundancy. The first sentence states the action; the second adds critical usage notes.

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?

The description covers essential behavior for a simple update tool. It could mention response details or error conditions, but given the lack of output schema and annotations, it is reasonably complete.

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 descriptions already document parameters. The tool description adds value by clarifying that at least one of url/events is required and that events is a full replacement, which is not explicit 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?

The description specifies 'Update a webhook's URL and/or events' with a clear verb and resource, and distinguishes from siblings like register and delete. It also notes the requirement of at least one field.

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 clearly states the tool's purpose for updating an existing webhook. It does not explicitly exclude alternatives but the context from sibling names makes the usage clear.

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