Skip to main content
Glama
thenavidm

Kit MCP Server

by thenavidm

Create a webhook endpoint

create_webhook_endpoint
Destructive

Creates a webhook endpoint subscribed to specific Kit events, requires confirm=true for changes, and saves signing secrets only to a private local file.

Instructions

Create a webhook endpoint. May affect delivery, audience membership, published data or irreversible state. Requires confirm=true. Webhook response secrets are redacted; new signing secrets are saved only to a private local file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
eventsNoEvent types this endpoint subscribes to (e.g. `subscriber.created`). On update, the list supplied here replaces the endpoint's full subscription list.
accountNoNamed private account from KIT_ACCOUNTS. Defaults to KIT_DEFAULT_ACCOUNT or the first configured account.
confirmNoMust be true for audience/delivery changes, publishing, destructive operations and signing-secret changes. Use only for an action requested by the user.
payloadNoComplete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file.
descriptionNo
secret_nameYesNew private filename under KIT_PRIVATE_DIR. Required before creating/rotating a signing secret; never overwritten.
payload_fileNoLocal JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is partly covered. The description adds genuinely non-redundant behavior: webhook response secrets are redacted, new signing secrets are written only to a private local file, and confirm=true is mandatory. It stops short of explaining what 'irreversible state' actually means.

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?

Three sentences, front-loaded with the action and its risk, with no filler. Slightly dense but every clause carries information.

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

Completeness4/5

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

For a destructive, 9-parameter, nested-payload tool with no output schema, the description covers the confirmation gate and secret handling well. It omits return-shape expectations and the payload vs. body-flag exclusivity, though the latter is documented in the schema.

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 67%, so the schema documents most parameters (events, account, confirm, secret_name, payload_file). The description adds only a restated confirm requirement and secret-persistence context, contributing little beyond the structured fields. Baseline 3 is appropriate for a partially covered, 9-parameter tool.

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?

States a specific verb and resource ('Create a webhook endpoint'), so the operation is unambiguous. However, it does not distinguish this tool from sibling tools like create_webhook or update_webhook_endpoint, leaving the agent to infer the boundary.

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?

The description notes 'Requires confirm=true', which is a real usage precondition, and the schema adds 'Use only for an action requested by the user.' But it never states when to reach for this tool versus create_webhook or update_webhook_endpoint, so routing guidance is only implied.

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