Skip to main content
Glama
Mautic MCP Connector

Mautic MCP Connector

by si-essence

mautic_get_webhook

Read-only

Retrieve a Mautic webhook by ID to inspect its configuration. The signing secret is removed from the returned data before caching or display.

Instructions

Get one webhook. GET /api/hooks/{id}. The signing secret field is removed before the result is returned or cached.

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": {
      "webhook_id": "<webhook_id>"
    },
    "name": "mautic_get_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description does add one genuinely useful behavioral fact beyond the annotations: the signing secret field is stripped before the result is returned or cached, which warns the agent that the response is not a verbatim API record. It says nothing about error behavior for missing IDs or about the shape of the returned object.

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 short, front-loaded sentences with zero filler. Purpose comes first, the endpoint second, and the one non-obvious behavior third - an efficient ordering with nothing to cut.

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?

With only one parameter, no nested objects and no output schema, the description covers what the tool does and flags the one surprising aspect of the response (secret removal). It is close to complete; the missing piece is a hint about where to get webhook_id and what a lookup failure looks like.

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 0%, so the description must carry the burden for webhook_id, and it only indirectly does so via the {id} placeholder in the path. It never states that the ID may be passed as an integer or a numeric string, nor how to obtain a valid ID (e.g., from mautic_list_webhooks). This is partial compensation for the documentation gap.

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?

The description states a specific verb and resource ("Get one webhook") and even includes the underlying endpoint GET /api/hooks/{id}, so an agent knows exactly what the tool retrieves. It does not, however, distinguish itself from the sibling mautic_list_webhooks or mention when a single fetch is preferable to listing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no prerequisite stated (e.g., that the webhook must already exist or where to obtain the ID). The only implicit signal is that this fetches one record by identifier, which a reader must infer from the name and path.

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