Skip to main content
Glama

create_section

Create a canvas-level section to group and label page regions like flows or screen sets, with support for nesting inside other sections.

Instructions

Create a section: a canvas-level container for grouping and labelling regions of a page (e.g. flows or screen sets). Sections sit on a page or nest inside another section, but not inside a frame; for a UI container or auto-layout use create_frame instead. Returns { ok, nodeId, name, type }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX position in the parent
yNoY position in the parent
nameNoSection name
widthNoWidth in px
heightNoHeight in px
parentIdNoParent page or section id (default: current page)
Behavior4/5

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

The description discloses the return shape ('Returns { ok, nodeId, name, type }') and placement constraints ('Sections sit on a page or nest inside another section, but not inside a frame'), adding value beyond the basic readOnly/destructive flags. It doesn't mention error conditions, but for a create operation this is sufficient.

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 two sentences, starting with the action and resource, then adding placement rules and return value. There is no redundancy or filler; every sentence earns its place.

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

Completeness5/5

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

For a simple create tool, the description covers purpose, placement constraints, alternative tool, and return shape. Combined with full schema coverage and consistent annotations, the agent has enough information to select and invoke the tool correctly.

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?

All 6 parameters are already described in the schema with clear semantics (e.g., 'Parent page or section id (default: current page)'), so the description doesn't need to restate them. It doesn't add extra parameter detail, but the schema fully covers it, so baseline 3 applies.

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 begins with 'Create a section' and defines it as 'a canvas-level container for grouping and labelling regions of a page', clearly stating what the tool does. It distinguishes from create_frame by explicitly saying 'for a UI container or auto-layout use create_frame instead', making the purpose unambiguous.

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

Usage Guidelines5/5

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

It explicitly states the use case ('grouping and labelling regions of a page') and the exclusion ('not inside a frame'), and points to an alternative tool ('use create_frame instead'). This gives clear when-to-use and when-not-to-use guidance.

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/awdr74100/figwright'

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