Skip to main content
Glama
Storyblok MCP Server

Storyblok MCP Server

Official
by storyblok

execute_destructive

DestructiveIdempotent

Run destructive Storyblok API operations such as deleting stories or clearing trash. Call search first to get the exact operationId; data may be permanently lost.

Instructions

Execute a destructive Storyblok API operation. Use for operations with behavior: 'destructive' (e.g., deleting stories, clearing trash). Data may be permanently lost.

Operation IDs are not guessable — always call search first to get the exact operationId. Never assume or infer operation names.

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": {
      "operation": "<operation>"
    },
    "name": "execute_destructive"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional list of response fields to return, using dot notation (e.g., ["stories.id", "stories.name"]). Available fields are shown in search results under responseFields. When omitted, the full response is returned. Use this for list operations to avoid large fields — operation descriptions call out which fields are expensive.
regionNoStoryblok region (eu, us, cn, ap, ca). Do NOT provide this parameter by default — it is auto-detected from space_id. Only provide it when the operation description explicitly asks you to.
operationYesThe operation ID to execute (from search results)
parametersNoParameters for the operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so 'data may be permanently lost' largely restates structured data rather than adding to it. The genuinely additive content is the non-guessable operationId constraint and the mandatory search-first sequence. It still says nothing about failure modes, error behavior, or whether a confirmation/retry is safe despite idempotentHint=true.

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?

Three sentences, front-loaded with purpose then the critical prerequisite, with no filler. The word 'destructive' recurs three times across purpose and safety warning, which is mild redundancy given the annotation already encodes it.

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 generic dispatcher with no output schema and a JSON Schema-variable `parameters` object, the description covers the one thing that would break a call: obtaining a valid operationId. It leaves return shape to the per-operation descriptions, which is reasonable, but says nothing about how partial failures or destructive confirmations are surfaced.

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 description coverage is 100%, so the baseline is 3; the description adds a bit by reinforcing that the `operation` value must come from `search` output rather than being constructed. It offers no additional meaning for `parameters`, `fields`, or the `region` auto-detection caveat, so it stays close to baseline.

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?

States a specific verb and resource ('Execute a destructive Storyblok API operation') and immediately scopes it with concrete examples (deleting stories, clearing trash). The destructive framing separates it cleanly from the execute and execute_readonly siblings named in the catalog.

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?

Gives an explicit routing condition ('operations with behavior: destructive'), which implicitly excludes read-only work, and adds a hard prerequisite workflow: always call `search` first because operation IDs are not guessable. That is exactly the when-to-use and how-to-prepare guidance an agent needs before invoking a dispatcher.

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