Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_webhook

Create a Fakturia webhook to send HTTP POST notifications to a specified HTTPS URL when subscribed events occur, with optional event filters, error email, description, and active status.

Instructions

Create a new webhook configuration in Fakturia. A webhook sends HTTP POST notifications to your specified URL whenever subscribed events occur (e.g. invoice created, payment received, subscription changed). Optionally specify an email address for error notifications, a description, whether the webhook is active, and which events to subscribe to.

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": {
      "hookUrl": "<hookUrl>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoWhen true, the webhook is active and will send notifications. When false, the webhook is paused and no notifications are sent. Defaults to true if omitted.
eventsNoList of event types to subscribe to (e.g. "invoice.created", "payment.received", "contract.changed"). If omitted, the webhook receives all event types.
hookUrlYesThe URL that Fakturia will send HTTP POST webhook notifications to. Must be a publicly accessible HTTPS endpoint.
hookEmailNoAn email address to receive notifications when webhook delivery fails (e.g. endpoint unreachable, HTTP errors).
descriptionNoA human-readable description for this webhook configuration, helping to identify its purpose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does cover meaningful ground: the outbound HTTP POST semantics, the failure-notification email channel, and the fact that events can be subscribed selectively. It does not disclose what is returned on success (id/handle), whether the URL is validated at creation time, whether duplicate URLs are allowed, or any permission requirements for a mutation of this kind.

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 core action is front-loaded in the first clause, followed by a compact explanation of the mechanism and one enumeration of optional fields. Two sentences with little waste; the parenthetical event examples arguably duplicate the schema's examples but aid comprehension at low cost.

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 create tool with 5 well-documented parameters and no output schema, the description plus schema gives an agent enough to call it correctly. The remaining gap is post-creation behavior — what identifier comes back and how the webhook is verified — but that is a modest omission rather than a blocker.

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 coverage is 100%, so all five parameters are already documented with defaults and constraints (active defaults to true, omitted events means all events, HTTPS requirement). The description only restates the optional fields in prose and adds illustrative event names; the baseline 3 is appropriate since the schema does the heavy lifting.

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 new webhook configuration in Fakturia') and goes further by defining what a webhook is and what it does (HTTP POST on subscribed events). The 'create_' prefix plus 'new' cleanly separates it from the disable_webhook sibling, though it never names that alternative explicitly.

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?

Usage is implied rather than stated: the agent learns this is for setting up event notifications, but there is no guidance on prerequisites (e.g. needing a publicly reachable HTTPS endpoint), when to prefer this over other notification mechanisms, or what to do afterwards. Nothing is misleading, but an agent must infer the setup context.

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