Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

generate_component_states

Generate a complete component state sheet for all interaction states: Default, Hover, Pressed, Focused, Disabled, Skeleton Loading. Provide component name and parent ID to produce the matrix.

Instructions

Generates a complete component interaction state sheet (Default, Hover, Pressed, Focused, Disabled, Skeleton Loading).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdNoOptional target file ID.
componentNameYesName of the component (e.g. "Primary Button", "Text Field", "Toggle Card").
targetParentIdYesParent artboard or container ID to receive the state matrix.
Install Server

TDQS

B3.1/5.0
Behavior2/5

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

There are no annotations, so the description must carry the burden of disclosing behavioral traits. It reveals the output states but does not say whether the tool mutates the document, creates new nodes, overwrites existing content, or requires a particular file/document state. This is a meaningful transparency gap for a generation tool with side-effect potential.

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 a single, front-loaded sentence with no filler or repetition. Every word adds value by naming the resource and the concrete states included, making it an appropriately sized definition.

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

Completeness3/5

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

For a three-parameter tool with fully documented schema, the description is adequate but not complete. It names the required inputs and the expected output content, but with no output schema and no annotations, it omits behavioral context such as whether this is a mutating operation and what the agent should expect after invocation.

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%: all three parameters have meaningful descriptions, so the baseline is 3. The tool description adds no parameter-specific meaning beyond the schema, but it doesn't need to because the schema already documents each parameter adequately.

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?

The description uses a specific verb ('Generates') and a concrete resource ('component interaction state sheet') and enumerates the exact states included, making the tool's function unmistakable. However, it does not explicitly distinguish itself from sibling generation tools like generate_responsive_variants or generate_theme_variant, so it stops short of full sibling differentiation.

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

Usage Guidelines2/5

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

The description states only what the tool does, not when to use it or when to prefer an alternative. No prerequisites, exclusions, or comparisons to sibling tools are provided, leaving the agent to infer the appropriate context from the tool name alone.

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

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/vvmahesh0/paper-cdp-mcp'

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