Skip to main content
Glama

Add a webhook

fillo_add_webhook
Destructive

Add a signed webhook to a form. Respondent answers then leave Fillo for an endpoint Fillo does not control, so connections that ask before outward actions receive a human approval link — and the approving person, not the agent, is shown the HMAC signing secret. Run directly, it returns that secret EXACTLY ONCE; store it immediately. Optional draft.abandoned events and an outbound credential Fillo sends to your receiver (bearer or x-api-key). Internal/loopback targets are refused.

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": {
      "form": "<form>",
      "url": "<url>"
    },
    "name": "fillo_add_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesHTTPS receiver URL.
formYesForm id, slug, or push handle.
authenticationNoOutbound credential: { type: "none" } | { type: "bearer", secret } | { type: "x-api-key", secret }.
includeAbandonedNoAlso deliver draft.abandoned events (default false).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "authentication": {
      +        "type": "string"
      +      },
      +      "events": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "secret": {
      +        "description": "Shown once. Never retrievable again.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "secret",
      +      "events",
      +      "authentication"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalId": {
      +        "type": "string"
      +      },
      +      "reviewUrl": {
      +        "type": "string"
      +      },
      +      "settingsUrl": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "awaiting_owner_approval"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "approvalId",
      +      "settingsUrl",
      +      "reviewUrl"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "authentication": {
      -    "type": "string"
      -  },
      -  "events": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "secret": {
      -    "description": "Shown once. Never retrievable again.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "id",
      -  "secret",
      -  "events",
      -  "authentication"
      -]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false) by disclosing the one-time secret disclosure and the requirement to store it immediately, the HMAC signing model, the approval-link behavior, and the refusal of internal/loopback targets. These are exactly the operational facts an agent needs before an irreversible create with an unrecoverable credential.

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?

Front-loads the action and secret-handling warning effectively, and every clause carries information. Minor deductions for an awkwardly constructed sentence ("Respondent answers then leave Fillo for an endpoint Fillo does not control") and density that forces re-reading.

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

Completeness5/5

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

Given an output schema exists, the description covers the remaining gaps an agent needs: one-time secret exposure, approval flow, allowed auth modes, and rejected target types. Nothing material about invoking this mutation safely is missing.

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 already explains url, form, authentication, and includeAbandoned. The description adds modest direction-of-flow context ("an outbound credential Fillo sends to your receiver") and describes optional draft.abandoned events, but largely restates what the schema already states, so baseline 3 applies.

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?

"Add a signed webhook to a form" gives a specific verb (add) and resource (signed webhook) scoped to a form, which cleanly separates it from siblings like fillo_remove_webhook and fillo_update_webhook without needing to name them.

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 establishes the context in which this tool is used (outbound delivery to a receiver Fillo doesn't control, requiring human approval in ask-before-acting connections) and makes clear the secret is shown only in a direct run. It does not explicitly say when to prefer fillo_update_webhook over this or what prerequisite state is needed, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.