Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Update Webhook

update-webhook

Modify an existing webhook by updating its URL, event subscriptions, active status, or authentication settings; only supplied fields are changed.

Instructions

Update an existing webhook. All fields are optional — only provided fields are changed.

Notes:

  • The enabled flag is named active on update (the response field is enabled).

  • The events array uses the canonical fully-prefixed event names (e.g. "message.delivery", "engagement.open").

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>"
    },
    "name": "update-webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe webhook ID to update
urlNoNew delivery URL
nameNoNew name
activeNoEnable/disable the webhook (request field name; response uses "enabled")
eventsNoReplacement event subscription list
auth_typeNo
auth_passwordNo
auth_usernameNo
oauth_client_idNo
oauth_token_urlNo
oauth_client_secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two genuinely non-obvious behaviors: the request field 'active' maps to the response field 'enabled', and events must use canonical fully-prefixed names. However, it says nothing about authentication/permission requirements, whether URL changes trigger re-verification, or how errors on invalid event names surface — significant gaps for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences plus a two-bullet notes block, with the most important constraint (partial update) front-loaded and the two gotchas isolated for easy scanning. Minimal waste; the only minor inefficiency is that the 'Notes:' heading and example event names occupy space that could carry auth guidance.

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?

For an 11-parameter mutation tool with no annotations, no output schema, and 45% schema coverage, the description should explain the auth parameter group and the replace-vs-merge behavior of events. It covers the naming and event-format pitfalls well but leaves roughly half the parameters undocumented, which is a substantial completeness gap.

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?

Schema description coverage is only 45%, and the six auth-related parameters (auth_type, auth_username, auth_password, oauth_client_id, oauth_token_url, oauth_client_secret) have no descriptions in either the schema or the description. The description does add real meaning for two parameters — the active/enabled naming quirk and the canonical event-name format — but leaves the authentication surface entirely unexplained.

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 an existing webhook') and immediately clarifies patch semantics ('All fields are optional — only provided fields are changed'), which is the key differentiator from create-webhook. It never names a sibling tool or explicitly contrasts itself with create/delete/get, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the partial-update sentence tells an agent this is the right tool for modifying a subset of fields rather than replacing a webhook wholesale. There is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. needing the webhook id first), and no routing to siblings such as create-webhook or delete-webhook.

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