Skip to main content
Glama
Yolfi
by yolfinance

Rotate Yolfi Webhook Signing Secret

yolfi_webhooks_rotate_secret
Destructive

Rotate an endpoint-specific webhook signing secret and store it in protected local Yolfi config without returning plaintext. Requires explicit confirmation to replace compromised or stale secrets.

Instructions

Rotate an endpoint-specific webhook signing secret and store it in the protected local Yolfi config without returning the plaintext secret.

Input Schema

NameRequiredDescriptionDefault
idYesWebhook endpoint id.
confirmYesMust be true only after explicit user confirmation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a destructive, non-idempotent write, and the description adds genuinely new behavior: the new secret is written into the protected local Yolfi config and the plaintext is never returned. This tells the agent not to expect a secret in the response and that rotation is silent and irreversible. It stops short of saying whether the old secret is immediately invalidated.

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?

A single front-loaded sentence that covers action, scope, side effect, and the non-return of the plaintext with no filler. Nothing is repeated from the annotations.

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 usefully clarifies that no plaintext secret is returned, which is the key thing an agent needs to know about the response. Minor gaps remain around old-secret invalidation and any permissions required.

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%, with both id (webhook endpoint id) and confirm (const true, explicit user confirmation) documented in the schema itself. The description adds no further detail about the parameters, 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?

Names a specific verb (rotate) and a precisely scoped resource (an endpoint-specific webhook signing secret), which separates it from yolfi_webhooks_configure and yolfi_webhooks_update that deal with endpoint settings rather than the secret itself. An agent can tell what this does without opening the schema.

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?

The description states no conditions for use, no prerequisites (e.g. existing endpoint, auth requirements), and no alternatives among the many sibling webhook tools. The only guidance-like content, that confirm must be true after explicit user confirmation, lives in the schema rather than the description.

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