Skip to main content
Glama

Create a webhook

create_webhook

Have RevDesk send an event to an https web address whenever it happens. The reply includes a signing secret shown only this once; give it to the user to store safely and do not repeat it elsewhere.

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_url": "<webhook_url>",
      "event_type": "<event_type>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_typeYesWhich event to send
webhook_urlYeshttps address that receives the events
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover side-effect profile (not read-only, non-idempotent, open-world), and the description adds genuinely non-obvious behavior: the response carries a signing secret returned only once, with explicit handling instructions. It does not disclose duplicate-subscription behavior or URL validation failure modes, keeping it below a 5.

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?

Two sentences, no waste, and the primary effect is front-loaded before the one-time secret warning. Every clause carries actionable information.

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 3-parameter creation tool with full schema coverage and annotations covering the safety profile, the description supplies the one missing behavior an agent could not infer — the one-time signing secret in the reply. Only minor gaps (duplicate handling, error behavior) remain.

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%: event_type's long enum and workspace_id's 'leave empty unless the user names another store' guidance are already fully documented in the schema. The description adds no additional meaning about these parameters, so the baseline of 3 applies.

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 concrete effect: RevDesk will send a specified event to an https address, which is exactly what a webhook subscription is. It is clearly distinguishable from delete_webhook and other create_* siblings, though it describes the runtime effect rather than explicitly saying 'creates a webhook subscription'.

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 guidance on when to use this versus alternatives, no statement about whether one webhook per event type is expected, and no note on how to inspect or remove existing webhooks (delete_webhook is never referenced). Only the post-creation secret handling is prescribed, which is operational advice rather than usage 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.

Resources