Skip to main content
Glama

read_render

Read-only

Render a Figma node as a PNG or JPG image on demand to answer layout questions text cannot; request only the smallest child node, not whole screens.

Instructions

Picture of one node. Costly: an image stays in context for the rest of the conversation (~1.4K tokens at 1024px). Use only for layout questions text cannot answer; render the smallest child that shows it, not whole screens. Live (edits show at once) when the kit bridge plugin runs in the file.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>",
      "id": "<id>"
    },
    "name": "read_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNode id or node URL
fileYesFigma file URL or key
formatNopng (default) for UI, jpg for photos
maxEdgeNoLongest side in pixels (default 1024)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, destructiveHint=false, so safety is covered; the description goes well beyond by disclosing the token cost and that the image persists in context for the rest of the conversation. It also reveals a conditional behavior — results are live and reflect edits immediately only when the kit bridge plugin runs in the file — which the agent could not learn from annotations or schema.

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?

Three short sentences, front-loaded with what it returns, then the cost warning, then the usage restriction. Every clause carries information an agent would otherwise have to discover by trial, and nothing is repeated from the schema or annotations.

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 read-only image-rendering tool with no output schema, the description supplies the missing operational context: cost/persistence, scope discipline, and the runtime condition for live rendering. There is no output schema to explain, and no obvious question an agent would have before calling it remains unanswered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all four parameters, but the description adds real meaning the schema does not: the ~1.4K-token cost at 1024px gives the agent a concrete reason to lower maxEdge or pick jpg. That is a useful semantic hook beyond the field descriptions, though it does not explain format or id/node-URL handling.

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?

"Picture of one node" states a specific verb (render a picture) and a strictly scoped resource (a single node), which cleanly separates it from the text-oriented siblings like read_frame_text and read_outline. The added "smallest child that shows it, not whole screens" further pins the granularity of the operation.

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?

Explicit when-to-use condition: "Use only for layout questions text cannot answer" — this both authorizes use and excludes the common case where a text reader suffices. It also gives the escalation rule (smallest child, not whole screens) and the live-vs-static condition tied to the bridge plugin.

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