Skip to main content
Glama

Pitchlane

Create a signing secret for a Pitchlane webhook

create_webhook_secret

Give an existing Pitchlane webhook subscription that has no signing secret (signed: false in list_webhooks, one made before deliveries were signed) its secret (whsec_…). From then on its deliveries carry a webhook-signature header, beside webhook-id and webhook-timestamp, that the receiving endpoint verifies with the secret. The secret is returned this once and never again: give it to the user and tell them to store it now. A subscription that already has one is refused (409 webhook_already_signed): a secret is never replaced or shown again. To get a new one, create a new subscription with create_webhook and delete the old one.

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": "create_webhook_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYesThe subscription's id, as list_webhooks or create_webhook returns it, e.g. `DHFG2C09n_3qrsSymZjjm`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare the generic non-read-only, non-destructive, non-idempotent profile; the description goes far beyond them. It discloses that the secret is returned exactly once and never again, that subsequent deliveries carry a `webhook-signature` header alongside `webhook-id` and `webhook-timestamp`, that an already-signed subscription is refused with a specific 409 code, and that a secret is never replaced.

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?

The precondition and the one-time-return warning are front-loaded, and each subsequent sentence adds a distinct fact: header effect, irreversibility, refusal code, remedy. Nothing is restated and nothing is filler despite the density.

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?

There is no output schema, but the description covers the return value (a `whsec_…` secret shown once) and what the agent must do with it (hand it to the user and tell them to store it). For a one-parameter mutation tool with a one-time credential return, nothing material 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% and the single parameter already documents the id format, so the schema carries the syntax. The description still adds semantics the schema cannot: the id must refer to an existing subscription that is not yet signed, and it points at list_webhooks/create_webhook as the sources of that id.

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 — give an existing Pitchlane webhook subscription that has no signing secret its secret (`whsec_…`) — and pins the precondition precisely (`signed: false` in list_webhooks). It is clearly distinct from create_webhook (which makes new subscriptions) and from delete_webhook.

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?

It states exactly when to use it (unsigned legacy subscription), when it will fail (`409 webhook_already_signed`), and the full alternative path when refused: create a new subscription with create_webhook and delete the old one. No inference is required to choose between this and its siblings.

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