Skip to main content
Glama
Frihet-io

Frihet MCP Server

Create Webhook

create_webhook

Register a webhook endpoint to receive notifications for selected business events such as invoice created or paid.

Instructions

Register a new webhook endpoint. You must specify the URL to receive notifications and which events to subscribe to. Available events: invoice.created, invoice.updated, invoice.paid, invoice.deleted, expense.created, expense.updated, expense.deleted, client.created, client.updated, quote.created, quote.updated, quote.accepted. Example: url='https://example.com/webhook', events=['invoice.created','invoice.paid'], secret='my-secret' / Registra un nuevo endpoint de webhook. Especifica la URL y los eventos a suscribir.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesWebhook endpoint URL / URL del endpoint del webhook
eventsYesEvents to subscribe to (e.g. ['invoice.created', 'invoice.paid']) / Eventos a suscribir
activeNoWhether the webhook is active (default: true) / Si el webhook esta activo
secretNoSigning secret for payload verification / Secreto para verificar las notificaciones

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlYes
eventsYes
activeNo
secretNo
createdAtNo
updatedAtNo
Behavior3/5

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

Annotations provide no safety hints (readOnlyHint=false etc.). Description only says 'Register a new webhook endpoint' without discussing side effects, error cases, or behavior on duplicate URLs. Minimal behavioral disclosure beyond the action itself.

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?

Description is concise but includes bilingual text (English and Spanish), which adds length. Example is valuable. Front-loaded with key purpose. Could be slightly shorter by removing bilingual repetition, but still efficient.

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?

Given output schema exists, return values are covered. The description covers required parameters, event options, and an example. Sibling tools are numerous, but the description provides enough context for an agent to select this tool appropriately. Lacks mention of authentication or idempotency, but annotations handle those implicitly.

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 covers 100% with descriptions. Description adds an example usage with url, events, and secret, and explicitly lists all available events, providing extra context beyond 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?

Clear verb 'Register' and resource 'new webhook endpoint'. Explicitly distinguishes from sibling tools like list_webhooks, get_webhook, update_webhook, delete_webhook, test_webhook. Includes a concrete example.

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?

States required parameters (URL and events) and lists available events. Provides an example. Does not explicitly compare with update_webhook or other alternatives, but context makes it obvious when to create vs. update.

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

Install Server

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/Frihet-io/frihet-mcp'

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