Skip to main content
Glama
This connector has been deprecated

This listing duplicates LexQ (io.lexq/lexq), which follows the official MCP Registry entry. Use that listing instead.

Save Webhook Subscription

lexq_webhook_subscriptions_save
Destructive

Create or update a webhook subscription. Omit id to create, provide id to update. Events: VERSION_PUBLISHED, DEPLOYED, ROLLED_BACK, UNDEPLOYED, DEPLOY_SCHEDULED, DEPLOY_SCHEDULE_CANCELED. Formats: GENERIC (full JSON), SLACK ({"text": "..."}).

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": {
      "name": "<name>",
      "webhookUrl": "<webhookUrl>",
      "subscribedEvents": "<subscribedEvents>"
    },
    "name": "lexq_webhook_subscriptions_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSubscription ID (omit to create, provide to update)
nameYesSubscription name (unique per tenant)
secretNoHMAC-SHA256 signing secret
isActiveNoWhether the subscription is active
webhookUrlYesWebhook endpoint URL
payloadFormatNoPayload formatGENERIC
subscribedEventsYesEvents to subscribe to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed1 schema field changed
    • changedInput schema / properties / subscribedEvents / items / enum
      Previous value: -[
      -  "VERSION_PUBLISHED",
      -  "DEPLOYED",
      -  "ROLLED_BACK",
      -  "UNDEPLOYED"
      -]New value: +[
      +  "VERSION_PUBLISHED",
      +  "DEPLOYED",
      +  "ROLLED_BACK",
      +  "UNDEPLOYED",
      +  "DEPLOY_SCHEDULED",
      +  "DEPLOY_SCHEDULE_CANCELED"
      +]
  3. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds no behavioral context beyond that — it does not warn that updating overwrites the existing subscription's event set, that the secret is used for HMAC signing at delivery time, or that the subscription causes outbound calls to the external URL. The GENERIC/SLACK payload explanation is the only added semantic content.

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 the core action and decision rule, then the enumerated event and format lists which need no surrounding prose. Nothing is repeated or padded.

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?

For a destructive, network-facing mutation with 7 parameters and no output schema, the description covers inputs but says nothing about the response (whether it returns the subscription id or the full object) or about the replace-versus-merge behavior on update. An agent can invoke it correctly but cannot anticipate the result.

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 the baseline is 3, but the description earns a bump by explaining what SLACK format actually emits ({"text": "..."}) versus GENERIC full JSON — context the enum in the schema does not provide. The id create/update semantics are restated from the schema description, so the gain is modest rather than transformative.

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 ('Create or update a webhook subscription') and immediately disambiguates the two modes via the id rule, so an agent knows exactly what the tool does. It does not explicitly differentiate from siblings like lexq_webhook_subscriptions_test or _delete, but the create/update framing is distinctive enough on its own.

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?

'Omit id to create, provide id to update' is an explicit selection rule that removes ambiguity between two modes of the same tool. What is missing is guidance on when to reach for this versus lexq_webhook_subscriptions_test (to validate an endpoint) or _list (to find an id), which would push it to a 5.

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