Skip to main content
Glama

read_search

Read-only

Searches Figma screens by text or layer name, ignoring case and accents, returning screen-grouped matches with IDs so you can read the right frame next.

Instructions

Find screens by text or layer name (case and accent insensitive). Returns matches grouped by screen with ids, to read next with read_frame_text.

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>",
      "query": "<query>"
    },
    "name": "read_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFigma file URL or key
limitNoMax matches (default 50)
queryYes
offsetNoFrom a [more: …] footer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds value beyond them by disclosing matching behavior (case/accent insensitive) and the return shape ('matches grouped by screen with ids'), which is exactly the kind of context annotations cannot convey.

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?

Two tight sentences with the search semantics front-loaded and the follow-up action placed second. Every clause carries information; there is no restatement of the tool name or filler.

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 four-parameter read tool with no output schema, the description covers what is searched, how matching works, and the shape of the results. It does not mention pagination (the '[more: …]' footer that offset expects) or that scope is limited to one file, but the schema's parameter descriptions partially fill those gaps.

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 75%, giving a baseline of 3, but the description earns above baseline by clarifying what 'query' actually matches against (text content or layer name) and that matching is case- and accent-insensitive. It says nothing about limit/offset paging behavior, which is left to the schema.

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?

States a specific verb and resource ('Find screens'), the matchable fields ('text or layer name'), and the matching semantics (case and accent insensitive). It also names read_frame_text as the distinct follow-up tool, so an agent can tell search apart from reading without opening either schema.

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

Usage Guidelines4/5

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

The phrase 'to read next with read_frame_text' makes the intended workflow explicit: search first, then read the resulting screen ids. There is no explicit when-not or statement about which sibling to use for other lookup styles (e.g. outline or structure), so it falls short of a full 5.

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