Skip to main content
Glama

Search the design

vault_search
Read-only

Search Figma vault nodes by substring in name or text. Retrieve id, type, and root path for each matching node.

Instructions

Nodes whose name or text content contains the substring (case-insensitive). Returns id, type and the path from the root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docIdYesDocument id as returned by vault_list
limitNoMaximum number of hits, 50 by default
queryYesSubstring to look for in name and text.content
includeHiddenNoAlso return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, and the description adds useful behavioral detail: case-insensitive substring matching, matching against both name and text content, and the returned id/type/path structure. This is valuable because no output schema exists to carry that information.

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?

A single, front-loaded sentence that states the matching behavior and the return fields without filler. Every word earns its place, and the tool's core behavior is immediately visible.

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 search tool with no output schema, the description covers the key context: what is searched, what matches, and what is returned. Minor details like result envelope shape or ordering are absent, but the parameters and defaults are already documented in the schema, so the agent has enough to call 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?

Schema description coverage is 100%, so all four parameters are documented in the schema itself. The description adds no extra parameter semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

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 ('search' implied by name/title) and a precise resource: nodes whose name or text content contains a case-insensitive substring. It also names the return fields (id, type, path), which makes the tool's function unambiguous and distinguishable from sibling get/list tools.

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 implies when to use it: when you need to find nodes by substring matching. However, it gives no explicit when-not-to-use guidance or alternatives, such as using vault_get_node when an exact node id is already known, so routing decisions are left to inference.

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