Skip to main content
Glama

Rotate a form's webhook signing secret

replo_forms_webhook_secret_rotate
Destructive

Make a new signing secret for a form's webhook and return it. This is the only time it's shown, and the old secret stops working at once. Each delivery carries a Replo-Signature header, t=,v1=: recompute HMAC-SHA256 with the secret over ".", compare it to v1 in constant time, and reject a t more than 5 minutes old. For multi-step Replo work, read the replo skill (call skills with name "replo").

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": {
      "projectId": "<projectId>",
      "formId": "<formId>"
    },
    "name": "replo_forms_webhook_secret_rotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
formIdYesThe form's id, from replo_forms_list
projectIdYesThe project that owns the forms, from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes further by stating the exact consequence ("the old secret stops working at once") and the irreversibility of visibility ("the only time it's shown"). It also explains the downstream contract — the Replo-Signature header format and HMAC verification rules — which the agent needs in order to make the returned value usable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical, decision-relevant facts — new secret returned, shown once, old secret invalidated immediately — are front-loaded in the first two sentences. The third sentence is dense but earns its place by telling the agent how to consume the secret; it is slightly long for a tool-selection blurb but not padding.

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 no output schema, the description compensates by stating that the new secret is returned and that it will never be retrievable again, which is the key return-value fact. Combined with the signature verification details, an agent has enough to call the tool and use the result correctly; only error/failure behavior is unaddressed.

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 coverage is 100%: both formId and projectId are documented in the schema, including their UUID format and source tools (replo_forms_list, list_projects). The description adds no further meaning about either parameter, so the baseline 3 is appropriate.

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 opening sentence names a specific verb and resource ("Make a new signing secret for a form's webhook") and adds the return behavior ("return it"), so an agent immediately knows this is a rotation operation, not a read or update of unrelated form fields. No sibling in the list performs secret rotation, so the tool is unambiguously distinguishable.

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?

The definition gives clear context for use: it is the rotation path for a webhook's signing secret and the secret is shown "only time it's shown," which signals the caller must capture the result immediately. It also routes multi-step work to the replo skill. It does not state when an agent should prefer to rotate versus leave a secret alone, which keeps it below a 5.

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