Skip to main content
Glama

HTML/CSS to Image API

Update a Webhook

update_webhook
Destructive

Replaces a webhook's configuration. Omitted parameters are removed; resend secret values or keep them with retain_value: true, except when the URL changes. Changing the URL, parameters, or signing setting, or enabling the webhook, requires read access to every subscribed event and sends a webhook_test delivery, identified by test_event_id in the result. Disabling, renaming, or removing subscriptions only requires webhook management access. Fails with a conflict if the webhook changed concurrently; get it again before retrying.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "content": "<content>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the webhook to update.
contentYesComplete replacement webhook configuration.

Output Schema

NameRequiredDescriptionDefault
itemNoOperation result. Check success before using this value.
errorNoError details when the operation failed; null on success.
successNoWhether the operation succeeded. If false, inspect error before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / content / properties / events / items / enum
      Previous value: -[
      -  "webhook_test",
      -  "template_created",
      -  "template_updated",
      -  "template_deleted",
      -  "image_deleted",
      -  "image_stored",
      -  "proxy_created",
      -  "proxy_updated",
      -  "proxy_deleted",
      -  "storage_destination_created",
      -  "storage_destination_updated",
      -  "storage_destination_deleted",
      -  "og_config_created",
      -  "og_config_updated",
      -  "og_config_deleted",
      -  "api_key_created",
      -  "api_key_updated",
      -  "api_key_deleted",
      -  "organization_plan_changed",
      -  "organization_usage_reset",
      -  "organization_usage_alert"
      -]New value: +[
      +  "webhook_test",
      +  "template_created",
      +  "template_updated",
      +  "template_deleted",
      +  "image_deleted",
      +  "image_stored",
      +  "proxy_created",
      +  "proxy_updated",
      +  "proxy_deleted",
      +  "storage_destination_created",
      +  "storage_destination_updated",
      +  "storage_destination_deleted",
      +  "og_config_created",
      +  "og_config_updated",
      +  "og_config_deleted",
      +  "api_key_created",
      +  "api_key_updated",
      +  "api_key_deleted",
      +  "organization_plan_changed",
      +  "organization_usage_reset",
      +  "organization_usage_alert",
      +  "recording_stored",
      +  "recording_deleted",
      +  "recording_failed"
      +]
    • changedOutput schema / properties / item / properties / events / items / enum
      Previous value: -[
      -  "webhook_test",
      -  "template_created",
      -  "template_updated",
      -  "template_deleted",
      -  "image_deleted",
      -  "image_stored",
      -  "proxy_created",
      -  "proxy_updated",
      -  "proxy_deleted",
      -  "storage_destination_created",
      -  "storage_destination_updated",
      -  "storage_destination_deleted",
      -  "og_config_created",
      -  "og_config_updated",
      -  "og_config_deleted",
      -  "api_key_created",
      -  "api_key_updated",
      -  "api_key_deleted",
      -  "organization_plan_changed",
      -  "organization_usage_reset",
      -  "organization_usage_alert"
      -]New value: +[
      +  "webhook_test",
      +  "template_created",
      +  "template_updated",
      +  "template_deleted",
      +  "image_deleted",
      +  "image_stored",
      +  "proxy_created",
      +  "proxy_updated",
      +  "proxy_deleted",
      +  "storage_destination_created",
      +  "storage_destination_updated",
      +  "storage_destination_deleted",
      +  "og_config_created",
      +  "og_config_updated",
      +  "og_config_deleted",
      +  "api_key_created",
      +  "api_key_updated",
      +  "api_key_deleted",
      +  "organization_plan_changed",
      +  "organization_usage_reset",
      +  "organization_usage_alert",
      +  "recording_stored",
      +  "recording_deleted",
      +  "recording_failed"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / content / properties / signing_enabled / description
      Previous value: -"Whether to sign deliveries with this webhook's signing secret. The secret is generated when the webhook is created and can be copied from the dashboard. Defaults to false."New value: +"Whether to sign deliveries with this webhook's signing secret. The secret is generated when the webhook is created, returned only in the REST API create response, and can also be copied from the dashboard. Defaults to false."
    • addedOutput schema / properties / item / properties / signing_secret
      Added value: +{
      +  "description": "Signing secret for verifying deliveries. Returned only in the REST API create response, even when signing is disabled. Store it securely; updates, reads, lists, and MCP responses omit this field.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already mark this as destructive, open-world, and non-idempotent, and the description adds substantial operational detail beyond them. It explains that omitted parameters are removed, how secret values must be resent or retained, when retain_value is disallowed, what permissions are required, when a webhook_test delivery is sent, and how concurrent-change conflicts behave.

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 front-loaded with the core replacement behavior and then layers in the important exceptions and permission rules. It is dense but every sentence carries operational value for a complex mutation tool.

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?

Given the nested schema, destructive annotations, and existing output schema, the description covers the key behavioral and permission constraints an agent needs. It explains replacement semantics, secret handling, test deliveries, and conflict retry without needing to restate return values.

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 description coverage is 100%, so the schema already documents the parameters thoroughly. The description still adds cross-parameter meaning by explaining full replacement semantics, the removal of omitted fields, and the URL-change exception for retaining secret values.

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 opens with a specific verb and resource: "Replaces a webhook's configuration." This clearly distinguishes the tool from create, get, and delete siblings by emphasizing full replacement of an existing 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?

It gives clear context for updating an existing webhook and explicitly says to get the webhook again before retrying after a conflict. However, it does not name sibling alternatives such as create_webhook or delete_webhook, nor does it state when not to use this tool.

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.