Skip to main content
Glama
berthelius

Frihet MCP Server

Create Webhook

create_webhook

Register a webhook to receive real-time notifications for events like invoice creation or payment. Specify the endpoint URL and choose events to subscribe.

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
activeNoWhether the webhook is active (default: true) / Si el webhook esta activo
eventsYesEvents to subscribe to (e.g. ['invoice.created', 'invoice.paid']) / Eventos a suscribir
secretNoSigning secret for payload verification / Secreto para verificar las notificaciones

Output Schema

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

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

Annotations provide no safety hints (all false), so the description carries the burden. It only says 'Register a new webhook endpoint' without disclosing behavioral traits like what happens on duplicate URL, validation, or persistence. No contradiction with annotations.

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?

The description contains redundant bilingual text and a list of events that could be abbreviated. It is front-loaded with purpose but could be trimmed to be more concise without losing clarity.

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 full schema coverage and an output schema, the description provides a solid overview with an example and event list. It does not mention error conditions or security aspects, but is adequate for a create tool.

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 description coverage is 100%, so parameters are well-documented in schema. The description adds value by listing available event strings in a readable format and providing an example, enhancing understanding 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?

The description uses specific verb 'Register' and resource 'webhook endpoint', distinguishing it from siblings like 'list_webhooks', 'delete_webhook', and 'update_webhook'. It clearly states the action and required inputs.

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?

The description states you must specify URL and events, providing clear usage guidance. However, it does not explicitly mention when to use this tool versus alternatives like 'update_webhook', though the name implies creation. No exclusions or prerequisites are stated.

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

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