Skip to main content
Glama
Featureflip

Featureflip

Official

Create, update, or delete a webhook subscription, or rotate its secret

manage_webhook
Destructive

Create and maintain Featureflip webhook subscriptions for Slack, Datadog, Grafana, or custom HTTP endpoints, including event filters, signing secret rotation, and deletion.

Instructions

action=create requires name + url and returns the signing secret. action=update/delete/rotate_secret/retire_secret require id. provider (create only, default GenericHttp) is the destination type: a Slack incoming webhook URL (https://hooks.slack.com/services/...) needs provider: "Slack", which posts readable channel messages; provider: "Datadog" sends Events API change events (url is your site's https://event-management-intake./api/v2/events) and provider: "Grafana" creates annotations (url is https:///api/annotations). Datadog and Grafana require credential (a Datadog API key, or a Grafana service account token that can create annotations, e.g. Editor); GenericHttp and Slack refuse it. credential is write-only: stored encrypted, never returned, and never echoed in this tool's output. A subscription's provider can never change. update changes only the fields you pass and keeps the rest; pass an empty list to widen that filter back to "all". projects take project keys or ids; environments take "/" keys (e.g. "web/production") or ids. eventTypes come from list_webhooks → availableEventTypes. create and rotate_secret return a secret that is NEVER shown again: relay it to the user verbatim so they can store it (for a GenericHttp subscription only: Slack, Datadog and Grafana never check it, so skip it there). Slack doesn't verify signatures, so a Slack subscription's secret is unused and rotate_secret is refused for one, and so are Datadog and Grafana ones, which authenticate with credential instead. On update, omit credential to keep the stored one; changing the url of a Datadog or Grafana subscription requires sending credential again. rotate_secret adds a new active secret while the old one keeps signing; retire_secret (secretId from list_webhooks) removes one and is refused for the last active secret. A project-restricted service token must list at least one project, all in its scope. Requires an Admin token. A 404 on every webhook call means webhooks are not enabled for the organization.

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": {
      "action": "<action>"
    },
    "name": "manage_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSubscription id; required for everything except create
urlNoReceiver URL; required for create
nameNoRequired for create
actionYesWhat to do; every action except create needs id
enabledNoupdate only; subscriptions are created enabled
projectsNoProject keys or ids to cover; empty or omitted on create = all
providerNocreate only. Slack for a hooks.slack.com/services/ URL; Datadog or Grafana for those destinations (credential required); GenericHttp (default) for your own endpoint
secretIdNoRequired for retire_secret
credentialNoWrite-only. Datadog API key or Grafana service account token (permission to create annotations). Required on create for Datadog and Grafana, refused for GenericHttp and Slack. On update, omit to keep the stored one; required again when changing url on a Datadog or Grafana subscription. Never returned.
eventTypesNoEvent types to send; empty or omitted = all
environmentsNo"<project>/<environment>" keys or environment ids; empty or omitted on create = all
idempotency_keyNoIdempotency-Key header for create / rotate_secret

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.7.0
    • addedInput schema / properties / credential
      Added value: +{
      +  "description": "Write-only. Datadog API key or Grafana service account token (permission to create annotations). Required on create for Datadog and Grafana, refused for GenericHttp and Slack. On update, omit to keep the stored one; required again when changing url on a Datadog or Grafana subscription. Never returned.",
      +  "type": "string"
      +}
    • changedInput schema / properties / provider / description
      Previous value: -"create only. Slack for a hooks.slack.com/services/ URL; GenericHttp (default) for your own endpoint"New value: +"create only. Slack for a hooks.slack.com/services/ URL; Datadog or Grafana for those destinations (credential required); GenericHttp (default) for your own endpoint"
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "GenericHttp",
      -  "Slack"
      -]New value: +[
      +  "GenericHttp",
      +  "Slack",
      +  "Datadog",
      +  "Grafana"
      +]
  2. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "create only. Slack for a hooks.slack.com/services/ URL; GenericHttp (default) for your own endpoint",
      +  "enum": [
      +    "GenericHttp",
      +    "Slack"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changedv0.3.0
    • addedInput schema / properties / action / description
      Added value: +"What to do; every action except create needs id"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "PublicCreateWebhookSubscriptionResponse": {
      +      "description": "The created subscription's id and its signing secret. The secret is shown only here.",
      +      "properties": {
      +        "id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "secret": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "warning": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "PublicRotateWebhookSecretResponse": {
      +      "description": "A newly added signing secret. The secret is shown only here.",
      +      "properties": {
      +        "secret": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "secretId": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "warning": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/PublicCreateWebhookSubscriptionResponse"
      +    },
      +    {
      +      "properties": {
      +        "environmentIds": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "eventTypes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "isEnabled": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "projectIds": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "updated": {
      +          "type": "boolean"
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "updated"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "deleted": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "deleted"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "$ref": "#/$defs/PublicRotateWebhookSecretResponse"
      +    },
      +    {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "retiredSecretId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "retiredSecretId"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  4. Addedv0.1.8

TDQS

A4.7/5.0
Behavior5/5

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

The only annotation is destructiveHint=true, so the description carries the real burden and does: credential is write-only and never echoed, secrets are shown once and must be relayed verbatim, rotate_secret keeps the old secret signing, retire_secret is refused for the last active secret, provider is immutable, and a 404 on every call means webhooks are disabled org-wide.

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

Conciseness3/5

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

It is a single ~350-word paragraph with no line breaks or list structure, which makes scanning for one action's rules hard. Some material is repeated, notably that secrets are never shown again and that Slack/Datadog/Grafana do not use the secret, which appears in two places. Front-loading of action prerequisites is good, but the density costs it.

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?

For a 12-parameter multi-action mutation tool with only a destructiveHint annotation, the description covers auth requirements, error interpretation, secret and credential lifecycles, immutable fields, and per-action parameter requirements. Output schema exists, so return values need no explanation, and nothing an agent needs to call this correctly is missing.

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 3 would be the floor, and the prose adds genuine meaning: what each provider actually does at the destination (Slack channel messages, Datadog Events API with an intake URL shape, Grafana annotations endpoint), key-vs-id formats for projects and environments with an example, and the credential re-send rule when changing url. Much of it parallels the schema text, which keeps it off a 5.

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 title and first two sentences name a specific resource (webhook subscription) and enumerate the five operations, with per-action required parameters (create needs name + url; the rest need id). It distinguishes itself from the sibling list_webhooks, which it explicitly routes to for availableEventTypes and secretId.

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

Usage Guidelines5/5

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

It states exactly which action to pick for each intent and the prerequisites for each: provider selection rules, credential requirements and refusals, rotate_secret vs retire_secret semantics, Admin token requirement, and project-scope rules for restricted service tokens. It also names the alternative tool (list_webhooks) for the two lookups this tool needs.

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