Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

list_layers

Retrieve every layer in the active project with indices, IDs, names, types, visibility, and opacity to inspect or manage canvas structure.

Instructions

List all layers in the active project with their indices, IDs, names, types (2d/3d/group), visibility, and opacity.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the meaningful part: the result set is scoped to the 'active project' and contains indices, IDs, names, layer types (2d/3d/group), visibility, and opacity. What it omits is that the operation is read-only/non-destructive and how results are ordered or what happens for a project with no layers.

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 with no filler, where the scope restriction ('active project') comes before the field enumeration. Every clause earns its place by naming output the agent will need.

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?

There is no output schema, so the description must describe return contents itself, and it does so with a concrete field list including the layer-type enum values. For a zero-parameter read tool this is nearly sufficient; only ordering, empty-result behavior, and an explicit read-only statement are missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly implies no filtering arguments are needed by stating it returns 'all' layers in the active project.

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?

States a specific verb and resource ('List all layers in the active project') and enumerates the returned fields, so the agent knows exactly what it gets. It implicitly contrasts with mutation siblings like create_layer, update_layer, and clear_layer, but never names them or explicitly separates itself from adjacent reads like get_app_state or get_layer_pixels.

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?

Usage is only implied: an agent can infer this is the discovery step before calling update_layer or clear_layer, since it returns indices and IDs. There is no explicit when-to-use statement, no mention of alternatives, and no note about when this is unnecessary (e.g. if get_app_state already exposes layers).

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