Skip to main content
Glama
stevebrownlee

storybook-mcp

storybook_get_component

Read-onlyIdempotent

Retrieve detailed information about a Storybook component, including story IDs, arg types, default args, and direct URLs, by specifying the component title path.

Instructions

Get detailed information about a specific Storybook component.

Returns every story registered under the given title, including story IDs, arg types, default args, and the direct Storybook URL for each.

Args: params (GetComponentInput): Validated input containing: - component_title (str): Exact component title path, e.g. 'Components/Button' - response_format (ResponseFormat): 'markdown' or 'json'

Returns: str: Detailed component information in the requested format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description does not add behavioral traits beyond return content. No contradiction but no added value beyond annotations.

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?

The description is concise at 5 sentences with clear structure: purpose, return details, parameter listing, and return format. Every sentence adds value.

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?

Given the simple tool (single parameter with nested object) and annotations covering safety, the description is nearly complete. It covers purpose, parameters, and return. Could mention error handling for missing components, but overall sufficient.

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?

Even though schema descriptions exist, the description adds meaningful context with examples (e.g., 'Components/Button') and clarifies the response_format parameter. It improves usability over the schema alone.

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?

The description clearly states the verb 'get' and resource 'specific Storybook component', and details what is returned (stories, IDs, arg types, URLs). It distinguishes itself from siblings like 'storybook_list_components' which lists all components.

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?

The description implies usage by stating its purpose but does not explicitly clarify when to use this tool versus alternatives like 'storybook_list_components' or 'storybook_compose_view'. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stevebrownlee/storybook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server