Skip to main content
Glama

update_webhook_endpoint

DestructiveIdempotent

Update name, URL, events, keyword rules or active/paused status with expected_revision. Do not redirect notifications without the operator's authorization. Agent/environment scope cannot be changed. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. Reuse the exact idempotency_key and input after an uncertain mutation. Webhook docs: https://mailbox.bot/docs/webhooks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
rulesNo
statusNo
endpoint_idYes
event_typesNo
idempotency_keyYes
expected_revisionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / event_types / items / enum
      Previous value: -[
      -  "inbound.received",
      -  "inbound.scan_available",
      -  "inbound.context_ready",
      -  "inbound.rule_matched",
      -  "inbound.action_completed",
      -  "inbound.action_failed",
      -  "mail.submitted",
      -  "mail.ready",
      -  "mail.mailed",
      -  "mail.delivered",
      -  "mail.failed",
      -  "mail.cancelled",
      -  "mail.pending_approval"
      -]New value: +[
      +  "inbound.received",
      +  "inbound.action.requested",
      +  "inbound.action.completed",
      +  "inbound.pages_ready",
      +  "inbound.keywords_matched"
      +]
    • changedOutput schema / properties / result / properties / endpoint / properties / event_types / items / enum
      Previous value: -[
      -  "inbound.received",
      -  "inbound.scan_available",
      -  "inbound.context_ready",
      -  "inbound.rule_matched",
      -  "inbound.action_completed",
      -  "inbound.action_failed",
      -  "mail.submitted",
      -  "mail.ready",
      -  "mail.mailed",
      -  "mail.delivered",
      -  "mail.failed",
      -  "mail.cancelled",
      -  "mail.pending_approval"
      -]New value: +[
      +  "inbound.received",
      +  "inbound.action.requested",
      +  "inbound.action.completed",
      +  "inbound.pages_ready",
      +  "inbound.keywords_matched"
      +]
    • changedOutput schema / properties / result / properties / endpoint / properties / status / enum
      Previous value: -[
      -  "pending_verification",
      -  "active",
      -  "paused"
      -]New value: +[
      +  "active",
      +  "paused"
      +]
    • removedOutput schema / properties / result / properties / endpoint / properties / verified_at
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "format": "date-time",
      -      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • changedOutput schema / properties / result / properties / endpoint / required
      Previous value: -[
      -  "name",
      -  "url",
      -  "agent_id",
      -  "environment",
      -  "event_types",
      -  "rules",
      -  "id",
      -  "member_id",
      -  "status",
      -  "revision",
      -  "verified_at",
      -  "created_at",
      -  "updated_at",
      -  "last_delivery_at",
      -  "last_http_status",
      -  "failure_count",
      -  "signing_key_prefix",
      -  "previous_key_expires_at"
      -]New value: +[
      +  "name",
      +  "url",
      +  "agent_id",
      +  "environment",
      +  "event_types",
      +  "rules",
      +  "id",
      +  "member_id",
      +  "status",
      +  "revision",
      +  "created_at",
      +  "updated_at",
      +  "last_delivery_at",
      +  "last_http_status",
      +  "failure_count",
      +  "signing_key_prefix",
      +  "previous_key_expires_at"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

While annotations already declare destructiveHint=true and idempotentHint=true, the description adds material behavior: 'Do not redirect notifications without the operator's authorization', 'Agent/environment scope cannot be changed', and the idempotency retry instruction. These go beyond the annotations and help an agent avoid unauthorized or dangerous 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?

Four dense sentences, each carrying a distinct fact: the update verb, the authorization caveat, the scope limitation plus auth model, and the idempotency instruction plus a docs link. No filler words and the primary action is front-loaded.

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 the action, permission requirement, scope limits, idempotent retry behavior, and points to documentation. With an output schema present and a detailed input schema, this is enough for a competent agent, though openWorldHint=true leaves room for additional undisclosed side effects that the description does not enumerate.

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?

The description maps top-level parameters to business concepts ('URL, events, keyword rules', 'active/paused status'), but with 0% schema coverage it does not explain the nested rules structure (match, source, terms, exclude_terms) or precisely how expected_revision governs the update. It partially compensates for the absence of schema descriptions but leaves several parameters under-explained.

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?

The description opens with a specific verb and resource — 'Update name, URL, events, keyword rules or active/paused status with expected_revision' — and enumerates the mutable fields. It clearly identifies this as a mutation of an existing endpoint, distinguishing it from create/test tools, though it does not explicitly contrast with the sibling update_webhook.

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 provides concrete operational guidance: 'Requires webhook.manage', 'Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization', and warns against redirecting notifications without operator authorization. It also gives retry guidance — 'Reuse the exact idempotency_key and input after an uncertain mutation' — though it stops short of explicitly naming alternatives when to use them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources