Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Webhook Rotate Secret

webhook_rotate_secret

Generate a new signing secret for a webhook, return it once, and immediately invalidate the previous secret so old signatures stop validating.

Instructions

Generate a new signing secret for a webhook. The response contains the secret exactly once; the previous secret stops validating immediately.

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": {
      "organizationId": "<organizationId>",
      "webhookId": "<webhookId>"
    },
    "name": "webhook_rotate_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhookIdYesThe webhook id (see webhook_list).
organizationIdYesThe organization id. Use organization_list to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The description carries real operational weight beyond the annotations: the secret is returned exactly once and the previous secret stops validating immediately. That immediate invalidation is the critical consequence an agent needs before calling, and it is not captured by destructiveHint=false or idempotentHint=false. It does not mention rate limits or whether rotation can be repeated safely, so not a 5. No contradiction with annotations — invalidating a credential is not the data destruction destructiveHint=false excludes.

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, zero waste. The action is front-loaded and the two consequence warnings (single exposure, immediate invalidation) follow compactly.

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 two-parameter mutation with no output schema, the description covers the essential unknown — what the response gives you and for how long the old secret lives. Missing only authorization context and any note on rollback, which are minor for this tool's complexity.

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%, with both organizationId and webhookId documented in-schema, including pointers to organization_list and webhook_list. The description adds no parameter-level meaning, which is acceptable given the schema does the work.

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?

States a specific verb and resource: 'Generate a new signing secret for a webhook.' It is clearly distinct from webhook_update (configuration change) and webhook_create, so an agent can identify it without opening the schema. It stops short of explicitly naming a sibling, which keeps it at 4 rather than 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is for credential rotation after a leak or on a schedule. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative (e.g., webhook_update for non-secret changes), and no stated prerequisites such as required permission level.

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

Deploy Server

Other Tools