Skip to main content
Glama

Get image fill URLs

figma_get_image_fills
Read-onlyIdempotent

Retrieve URLs for all images used as fills in a Figma file, so you can access embedded photos for export or further use.

Instructions

Returns URLs for all images used as fills in a file (photos embedded in the design).

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_key": "<file_key>"
    },
    "name": "figma_get_image_fills"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_keyYesFile key from the Figma URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. The description adds genuine value by scoping the result to image fills only, but it says nothing about URL expiry, auth/permission requirements, or whether the returned URLs are signed or temporary.

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 sentence with zero padding, the resource and scope front-loaded, and the parenthetical earns its place by disambiguating what an "image fill" actually is.

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 read-only, single-parameter lookup with annotations and no output schema, the description covers what the tool returns and its scope well enough to call it. The only real gap is failing to differentiate it from the similarly named figma_get_images sibling.

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 100% and the single file_key parameter is documented in the schema as coming from the Figma URL. The description adds no parameter-level detail, so the baseline of 3 applies when the schema carries the full burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: "Returns URLs for all images used as fills in a file," with a clarifying parenthetical that these are photos embedded in the design. It does not distinguish itself from the sibling figma_get_images, which an agent could easily confuse with this tool.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no exclusions — nothing tells the agent when to call this instead of figma_get_images or figma_get_file. The only implicit cue is the phrase "used as fills," which hints at scope but not at alternatives.

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