Skip to main content
Glama

preview-stories

Read-only

Storybook-MCP-compatible rendering of one or more story ids. Requires live scope.

Input Schema

NameRequiredDescriptionDefault
idNo
idsNo
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
observeNo
storyIdNo
storyIdsNo
overridesNo

Output Schema

NameRequiredDescriptionDefault
observationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "observations": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "observations"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The readOnlyHint annotation already covers the safety profile, and 'Requires live scope' adds a useful auth/scope precondition beyond it. But for a rendering tool it says nothing about what a render consumes, whether overrides mutate anything, or what happens when scope is absent — leaving most behavioral burden on the schema.

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?

Two short, front-loaded sentences with no filler; the purpose precedes the constraint, which is the right order. It is efficiently written, though the brevity comes partly at the cost of the missing parameter detail noted above.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, nested overrides, four mutually exclusive id aliases, an enum-typed observe mode, and a live-scope prerequisite, the description is far too thin to support correct invocation. The output schema does relieve it of return-value explanation, but the argument-selection surface remains essentially undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 14% across 7 parameters; only the token parameter is documented in the schema, and its guidance (prefer the header) is entirely absent from the description. The phrase 'one or more story ids' hints at the anyOf of storyIds/storyId/ids/id but never tells the agent which of the four aliases to use or what 'observe' and 'overrides' control.

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 concrete action and resource: rendering one or more story ids via a Storybook-MCP-compatible path. The scope is clearer than a bare name restatement, but it never distinguishes itself from near siblings such as catalog_render_preview or catalog_get_preview_data, so an agent still has to guess which renderer applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Requires live scope' gives a hard precondition that narrows when this tool is valid, which is real guidance. However, there is no statement of when to prefer it over the catalog_* preview siblings, and no exclusion for the non-live or cached cases those siblings presumably cover.

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.