Skip to main content
Glama

Subscribe to events (webhook)

create_hook

Register a webhook URL — MightyAutomation POSTs each matching event to it as they happen. Use event_type "*" for every event, or a specific type like contact_created / form_submitted / appointment_booked. This is how an external agent receives real-time notifications instead of polling list_events.

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": {
      "event_type": "<event_type>",
      "target_url": "<target_url>"
    },
    "name": "create_hook"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_typeYesEvent type to subscribe to, or "*" for all.
target_urlYeshttps URL that receives the event POSTs.

Output Schema

NameRequiredDescriptionDefault
idNo
okNo
errorNoPresent only when ok is false.
event_typeNo
target_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=true, idempotent=false and destructive=false, so the description is freed from the safety story. It still adds real behavioral context — that delivery is asynchronous push, per-event, at the moment events occur. It omits delivery failure/retry behavior, signature verification, and whether re-registering the same URL creates duplicates, which matter for a non-idempotent webhook subscription.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with what gets created and what happens next. No filler and no repetition of the title.

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?

An output schema exists, so return values need not be described, and both required params are covered. For a webhook-creation tool, though, an agent still lacks guidance on verifying the payload source and on avoiding duplicate subscriptions (e.g., check list_hooks first).

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 coverage is 100%, so the baseline is 3, but the description earns extra credit by enumerating concrete event_type values (contact_created, form_submitted, appointment_booked) that the schema has no enum for. It does not add format or validation detail for target_url beyond what the schema states.

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?

States a specific verb and resource (register a webhook URL) plus the concrete mechanism (MightyAutomation POSTs matching events to it). It is clearly distinct from sibling list_hooks/list_events by describing push vs. pull delivery.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the alternative ('instead of polling list_events') and gives the selection condition (real-time notifications vs. polling). It also tells the agent which value to use for all events ("*") versus a specific type.

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.

Resources