Skip to main content
Glama

resize_nodes

Resize specified design nodes to exact width and height. Non-resizable nodes are skipped, and the tool returns success status and count of affected nodes.

Instructions

Resize nodes to the given width × height (positive). Non-resizable nodes are skipped. Returns { ok, affected }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthYes
heightYes
nodeIdsYesNode ids to resize
Behavior4/5

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

Annotations indicate non-read-only and non-destructive. The description adds that non-resizable nodes are skipped and dimensions must be positive. It also describes return format, providing additional context 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?

Extremely concise: one sentence plus return format. Front-loaded with essential information. No redundant words.

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?

For a simple tool with 3 parameters and no output schema, the description explains return value and behavior (skipping non-resizable). Could clarify what 'affected' means (e.g., count of resized nodes), but overall adequate.

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 coverage is low (33%), but the description adds meaning by specifying that width and height must be positive. It does not elaborate on nodeIds beyond schema, partly compensating for coverage gap.

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 action (resize), resource (nodes), constraints (positive dimensions, skipping non-resizable), and return value. It differentiates from sibling tools like reorder_nodes or rotate_nodes.

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 does not explicitly state when to use this tool vs alternatives. It implies usage for resizing nodes to specific dimensions but lacks when-not-to-use or comparison with other node manipulation tools.

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