Skip to main content
Glama

add_layer_to_icon

Add an image as a new layer to an existing .icon bundle. Optionally create a new group and adjust opacity, scale, offset, blend mode, and glass effect.

Instructions

Add a new layer to an existing .icon bundle. Creates a new group or adds to an existing one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundle_pathYesPath to existing .icon bundle
image_pathYesPath to image file to add as layer
layer_nameYesName for the layer
group_indexNoGroup index to add to (0-based, default 0)
create_groupNoCreate a new group for this layer
opacityNoLayer opacity
scaleNoLayer scale
offset_xNoX offset in points
offset_yNoY offset in points
blend_modeNoBlend modenormal
glassNoParticipate in Liquid Glass effects
Behavior2/5

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

No annotations provided, so description must cover behavior. It mentions group creation but lacks details on destructive effects, error handling, or side effects.

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 sentences, front-loaded, no unnecessary words. Each sentence adds value: first states purpose, second clarifies behavior.

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

Completeness3/5

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

Adequate given high schema coverage, but lacks return value description and error context for a mutation tool with 11 parameters.

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 has 100% description coverage, so baseline is 3. Description adds slight context about group behavior but does not significantly enhance schema descriptions.

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?

Description clearly states action (add layer) and resource (.icon bundle), and distinguishes from siblings like create_icon and remove_layer by specifying it operates on an existing bundle.

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?

No guidance on when to use this tool versus alternatives (e.g., create_icon for new bundles). Does not mention prerequisites like bundle must exist.

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