Skip to main content
Glama

create_webhook_destination

Destructive

Create a filtered outbound webhook to send UniFi events to a custom endpoint, optionally filtered by category and signed with a secret. Requires explicit confirmation to persist.

Instructions

Create a filtered outbound webhook. Requires confirm=true.

Mutating operation: persists a new outbound webhook destination posting to url, optionally signing with a secret from secret_env_name and limited to categories. Returns success=false unless confirm=true. Use set_webhook_destination_enabled to pause it, or delete_webhook_destination to remove it.

Args: name: Unique destination identifier. url: Endpoint that receives webhook payloads. secret_env_name: Optional name of an env var holding the signing secret. categories: Optional list of event categories to send; empty sends all. confirm: Must be True to create the destination; without it the call is a no-op. Defaults to False.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesEndpoint that receives webhook payloads.
nameYesUnique destination identifier.
confirmNoMust be True to create the destination; without it the call is a no-op. Defaults to False.
categoriesNoOptional list of event categories to send; empty sends all.
secret_env_nameNoOptional name of an env var holding the signing secret.
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the destructiveHint annotation, the description discloses that the operation persists a destination, is a mutating operation, and is a no-op returning success=false unless confirm=true. This adds meaningful safety and side-effect context the annotation alone does not provide.

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?

The description is front-loaded with the key requirement (confirm=true) and is well-structured with a short explanation, lifecycle guidance, and an Args list. Some redundancy exists between the prose and the schema-covered Args section, but the description remains focused and readable.

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 mutating creation tool with no output schema, the description covers the essential invocation requirements: confirm=true, required name/url, optional secret/categories, and post-creation alternatives. It gives enough for an agent to call it correctly, though the full success response shape is not specified.

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 100%, so the schema fully documents all five parameters. The description largely repeats the schema's parameter meanings and adds no new semantic detail about formats, constraints, or interactions beyond what is already in the schema.

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 description states a specific action and resource: 'Create a filtered outbound webhook.' It clearly distinguishes this creation tool from lifecycle siblings by explicitly naming set_webhook_destination_enabled and delete_webhook_destination for later operations.

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?

It gives clear context for use: creating a webhook destination requires confirm=true, and it points to sibling tools for pausing and deleting. It does not explicitly contrast with test_webhook_destination or list_webhook_destinations, but the creation scenario is unambiguous.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeholownych/unifi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server