Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

by Shivam990q

canvas_create_hero_section

Generate a marketing hero section directly on the Figma canvas with a badge pill, title, subtitle, and primary/secondary CTA buttons.

Instructions

Generates a high-impact marketing hero section with badge pill, title, subtitle, and CTA buttons directly on the Figma canvas.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "canvas_create_hero_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
badgeNo
themeNo
titleNo
subtitleNo
primaryCtaNo
secondaryCtaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies a write/mutation to the live canvas but does not state whether the new node is selected, where it is placed, what happens if the document is read-only, or whether required Figma auth/connection is assumed. Only the output composition is disclosed.

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?

A single front-loaded sentence with no filler; the resource and its constituent parts come first. It is efficient, though it could have spent one more clause on placement or defaults rather than only on the parts list.

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?

For a six-parameter mutation tool with no annotations and no output schema, the definition is thin: it omits where on the canvas the section lands, what the call returns (node ID? selection?), and how the theme parameter changes the output. An agent could invoke it but could not predict or verify the result.

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 0%, so the description must compensate. It does map loosely to five of six parameters by naming badge, title, subtitle, and both CTA buttons, but says nothing about the 'theme' enum (light/dark), about optionality/defaults for the zero-required-parameter schema, or about text length constraints.

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 gives a specific verb ('Generates') and a specific resource ('marketing hero section') and enumerates the sub-components it builds (badge pill, title, subtitle, CTA buttons) on the Figma canvas. It is clearly distinct from element-level siblings like canvas_create_rectangle or canvas_create_navbar by virtue of the composite 'hero section' concept, though it never explicitly contrasts itself with canvas_create_frame.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. An agent cannot tell from the text whether this should be preferred over composing canvas_create_frame + canvas_create_text manually, or whether it requires a specific page/frame to be active first.

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