Skip to main content
Glama

create_design_pr

Converts Figma designs to TypeScript React components and creates a GitHub pull request with the generated code, test results, and visual regression checks.

Instructions

Create GitHub PR with generated component and test results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
figmaInputYesFigma URL or file ID
componentNameYesComponent name
githubBranchYesGitHub branch name
testResultsNoTest results to include (optional)
Behavior2/5

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

No annotations are present, so the description bears full responsibility for behavioral disclosure. The description only states 'Create GitHub PR', implying mutation, but fails to mention permissions, idempotency, error conditions, or any side effects.

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?

The description is a single, concise sentence of 8 words. It is efficient and front-loads the primary action, though it could be expanded slightly to include more context without losing conciseness.

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?

Given the tool has 4 parameters (3 required), no output schema, and no annotations, the description is too brief. It does not explain what 'generated component and test results' means or how the PR is created, leaving significant gaps for an agent to infer behavior.

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?

The input schema has 100% coverage with descriptions for all four parameters. The tool description adds no additional meaning beyond what the schema already provides, so it meets the baseline but does not exceed it.

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 clearly states the action 'Create GitHub PR' and specifies it includes generated component and test results. It distinguishes from sibling tools like analyze_figma_design and design_to_code by focusing on PR creation, though it could be more explicit about the integration of outputs.

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?

No guidance is provided on when to use this tool versus alternatives like setup_project_branch or test_design_implementation. The description does not mention prerequisites or typical workflow context.

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/surisagar900/figma-to-react-mcp'

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