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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false. The description adds real behavior beyond that: events are pushed as they happen, delivering real-time notifications to an external agent. It does not explain what happens on re-registering the same URL (relevant given idempotentHint=false) or delivery failure/retry behavior, leaving a modest gap.

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: what it does, how delivery works, and how to pick a value, then the alternative to polling. No filler and the core action is front-loaded.

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?

Both required parameters are documented and an output schema exists, so return values need not be explained. For a non-idempotent subscription mutation, a note on duplicate registration or webhook verification would round it out, but nothing essential to calling it correctly is missing.

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 baseline is 3, but the description earns extra credit by enumerating concrete event types (contact_created, form_submitted, appointment_booked) that the schema does not list anywhere, since there is no enum. It clarifies wildcard semantics in context rather than merely restating them.

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') and immediately explains the resulting behavior ('MightyAutomation POSTs each matching event to it as they happen'). This clearly separates it from sibling list_events, which is a polling read.

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?

Explicitly frames the choice between this tool and polling list_events, and gives concrete selection guidance for event_type ('*' vs a specific type). It does not mention delete_hook as the inverse operation for unsubscribing, so the lifecycle guidance is slightly incomplete.

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