Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

motorical_webhook_update

Idempotent

Update a webhook endpoint's URL, events, or enabled state. Only the fields you pass change, leaving other settings intact.

Instructions

Update a webhook endpoint's url, events, or enabled state. Only the fields you pass are changed. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows).

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": {
      "webhookId": "<webhookId>"
    },
    "name": "motorical_webhook_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
eventsNo
enabledNo
webhookIdYesThe webhook endpoint id, from motorical_webhook_list or the create response
motorBlockIdNoRequired when the authorization covers more than one Motor Block
idempotencyKeyNoOptional. Pass the same value on a retry to get the exact original response back, instead of a duplicate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds two pieces of context the annotations cannot: the PATCH-style partial-mutation semantics and the required authorization scope with a pointer to motorical_whoami. It does not say whether the events array replaces or merges with existing subscriptions, which is the one behaviorally important gap.

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?

Three short sentences, front-loaded with purpose, then mutation semantics, then the auth prerequisite. Every clause carries information an agent needs, and the parenthetical pointer to motorical_whoami is compact rather than wasteful.

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

Completeness3/5

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

With six parameters, no output schema, and only 50% schema description coverage, the definition is adequate but thin at the edges: it does not describe the response, whether the events list is replaced wholesale, or what a webhookId for a non-existent endpoint yields. The core call path is nonetheless covered by the description plus annotations.

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?

Half of the six parameters carry schema descriptions (webhookId, motorBlockId, idempotencyKey), so the schema does substantial work. The description names the three mutable fields and clarifies their optionality via "only the fields you pass," but adds no format detail such as accepted event names or URL constraints beyond what the schema already encodes.

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 states a specific verb and resource ("Update a webhook endpoint") and enumerates the mutable fields (url, events, enabled), which distinguishes it cleanly from motorical_webhook_create and motorical_webhook_delete. It stops short of naming a sibling as an alternative, so it is clear rather than sharply differentiated.

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?

"Only the fields you pass are changed" is genuine usage guidance that tells the agent this is a partial update, not a replace, and implicitly that omitted fields are safe. It also surfaces a prerequisite (OAuth scope manage:webhooks) and routes to motorical_whoami, though it never states when a caller should prefer create/delete instead.

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

Deploy Server

Other Tools