Skip to main content
Glama

remove_layer

Remove a layer or entire group from an .icon bundle, with optional cleanup of orphaned asset files.

Instructions

Remove a layer or entire group from an .icon bundle. Optionally cleans up orphaned asset files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundle_pathYesPath to .icon bundle
targetYesWhether to remove a single layer or an entire group
group_indexYesGroup index (0-based)
layer_indexNoLayer index within the group (0-based, required when target=layer)
cleanup_assetsNoDelete orphaned asset files from the Assets directory
Behavior2/5

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

No annotations are provided, so the description must fully convey behavioral traits. It mentions the optional cleanup of orphaned assets but does not disclose potential side effects (e.g., irreversible removal, required permissions, impact on bundle integrity). For a destructive operation, more transparency is needed.

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?

The description is a single sentence that concisely states the primary action and the optional feature. It is front-loaded and contains no unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It does not specify the return format, error conditions, or constraints (e.g., whether the bundle must exist). For a removal tool with 5 parameters, more contextual information is required.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds minimal extra meaning beyond the schema; it reiterates the optional cleanup but does not provide additional context for parameters like group_index or layer_index.

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?

The description clearly specifies the verb 'Remove', the resource '.icon bundle', and distinguishes between removing a single layer or an entire group. This distinguishes it from sibling tools like add_layer_to_icon or create_icon.

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?

The description does not provide any guidance on when to use this tool versus alternatives, nor does it mention prerequisites or contraindications. For example, it doesn't indicate if there are dependencies between layers or groups that might affect usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ethbak/icon-composer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server