Skip to main content
Glama
Commish MCP Server

Commish MCP Server

create_webhook

Subscribe an HTTPS endpoint to Commish events for real-time POST notifications and save the returned whsec_ signing secret immediately to verify payload HMAC signatures.

Instructions

Create a new webhook subscription to receive real-time POST notifications when events occur in Commish. On success, returns the webhook record including a one-time signing secret (secret field, starts with 'whsec_') — save this immediately as it cannot be retrieved again. Use this secret to verify the HMAC signature of incoming webhook payloads. Use when integrating Commish with Slack, Zapier, a CRM, or a custom backend.

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": {
      "url": "<url>",
      "events": "<events>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe HTTPS endpoint URL that will receive POST requests when events occur. Must be publicly accessible and return a 2xx response.
eventsYesArray of event types to subscribe to. Available events: 'deal.created' (new deal logged), 'deal.approved' (deal approved by admin), 'deal.rejected' (deal rejected), 'commission.calculated' (commission computed after deal approval), 'spiff.completed' (SPIFF program ended and payouts finalized). Invalid event types are silently filtered out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does substantial work: it discloses the return payload, the one-time 'whsec_' signing secret that cannot be retrieved again, and the HMAC verification purpose. It omits operational details such as authentication requirements, whether duplicate URLs/events are permitted, or retry/delivery-failure behavior.

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 sentences, front-loaded with the action and immediately followed by the critical one-time-secret warning before the integration use cases. Every sentence contributes either behavior, a hazard, or a selection cue.

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?

For a two-parameter creation tool with no output schema, the description covers the essential gaps: it explains what is returned, flags the irreversible loss of the signing secret, and states the downstream verification use. Nothing an agent needs to call it safely appears to be 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%, including the full enum meaning for every event type, so the schema already does the semantic heavy lifting. The description adds no parameter-level detail beyond that, so the 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?

The description opens with a specific verb and resource ('Create a new webhook subscription') and immediately narrows scope to real-time POST notifications for events in Commish. This is distinguishable from siblings like list_webhooks or delete_webhook without opening any schema.

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?

It gives explicit positive guidance with named integration scenarios (Slack, Zapier, CRM, custom backend), which is clear context for when to use it. It does not name alternatives or exclusions — e.g., when to prefer list_webhooks to check existing subscriptions or delete_webhook to rotate an endpoint — so it stops short of full routing guidance.

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