Skip to main content
Glama
Storyblok MCP Server

Storyblok MCP Server

Official
by storyblok

execute

Runs mutating Storyblok Management API operations such as creating, updating, or publishing stories and uploading assets. Search first for the exact operation ID, then run it.

Instructions

Execute a mutating Storyblok API operation. Use for operations with behavior: 'idempotent' or no behavior hint (e.g., creating stories, updating stories, publishing, uploading assets).

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

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

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=false, so the safety profile is covered; the description adds genuinely new behavior facts — that operationIds are not guessable and that a discovery call via `search` is mandatory before invoking. It still says nothing about failure modes, permission/scope requirements, or whether the mutating effects are reversible.

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 short, front-loaded sentences with the usage rule before the operational caveat. The final sentence ('Never assume or infer operation names') restates the preceding 'not guessable' sentence without adding new information, which is the only redundancy.

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 nested free-form `parameters` and no output schema, the definition supplies the two things an agent cannot infer: which operation classes belong here and that discovery must precede invocation. It is close to complete, with only the destructive-vs-non-destructive boundary and error behavior left unstated.

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%, so operation, parameters, fields and region are all documented in the schema itself (including the explicit 'do NOT provide region by default' warning). The description adds only the constraint that `operation` must come from search results, which is useful but marginal; baseline 3 applies.

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 (execute) and scope (mutating Storyblok API operations), with concrete examples of the operation classes it accepts (create, update, publish, upload). It partially separates itself from siblings by naming the 'idempotent or no behavior hint' criterion, but never names execute_destructive or execute_readonly directly, so the routing boundary is inferred rather than spelled out.

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?

Gives a clear condition for use ('behavior: idempotent or no behavior hint') plus a hard prerequisite workflow: call `search` first to obtain the exact operationId. It does not explicitly say what to do when the operation IS destructive, leaving the agent to infer that execute_destructive handles that case.

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