Skip to main content
Glama
Storyblok MCP Server

Storyblok MCP Server

Official
by storyblok

execute_readonly

Read-only

Execute read-only Storyblok API operations to list stories, fetch assets, and retrieve content data; find the exact operation ID with search first.

Instructions

Execute a read-only Storyblok API operation. Use for operations with behavior: 'readOnly' (e.g., listing stories, getting assets).

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

List operations support pagination via page and per_page parameters (default: page=1, per_page=25, max per_page=1000). When paginating, the response includes a pagination object with total, page, per_page, and total_pages. Use this to determine if more pages exist and fetch them with subsequent calls.

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

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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavioral context on top: operation IDs are unguessable and require a prior `search`, and list responses return a `pagination` object with total/page/per_page/total_pages. It does not discuss error behavior or rate limits, keeping it short of a 5.

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?

Purpose is front-loaded in the first sentence, followed by the prerequisite and then pagination mechanics, with no padding. Minor redundancy between 'Operation IDs are not guessable' and 'Never assume or infer operation names' costs it a point but the text stays tight overall.

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 carries the return-shape burden and does disclose the pagination object fields, and it explains the dependency on `search` for operation discovery. What remains unstated — error handling and how `fields` interacts with nested responses — is a modest gap rather than a blocking one for a four-parameter executor.

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 the four top-level parameters are already documented and the baseline of 3 applies. The description does add real meaning for the free-form `parameters` bag — page/per_page defaults (page=1, per_page=25) and the per_page ceiling of 1000 — but says nothing extra about `operation`, `fields`, or `region` beyond what the schema states.

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 read-only Storyblok API operation') and scopes it by the behavior flag 'readOnly' with concrete examples (listing stories, getting assets). This clearly separates it from the generic `execute` and from `execute_destructive` without requiring the agent to open any schema.

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 an explicit selection rule ('Use for operations with behavior: readOnly') and a hard prerequisite ('always call `search` first to get the exact operationId'), which is exactly the kind of sequencing an agent needs. It never names the alternative to use for non-read-only operations, so the when-not guidance remains implicit rather than explicit.

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