Skip to main content
Glama

create_palette

Embed secret data into indexed-color images by encoding bits into the least significant bits of palette color entries. Supports PNG and GIF formats.

Instructions

Embed data in palette color entry LSBs for indexed-color images (PNG with PLTE chunk or GIF). Each palette entry has R, G, B values — the least significant bit of each channel encodes one bit of the secret data. Capacity is 3 bits per palette entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesSecret data string to embed in palette LSBs
file_pathYesPath to an indexed-color image (PNG palette or GIF)
output_pathYesPath for the output file
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It explains the embedding method (3 bits per palette entry) and capacity but does not disclose whether the operation is destructive (overwrites LSBs), requires a certain palette size, or alters the image structure beyond LSBs.

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 three sentences, front-loaded with the main action, and contains no unnecessary words or redundancy. Every sentence provides essential information.

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?

The description covers the core functionality and capacity but lacks information about output format, error handling, or input validation. No output schema exists to supplement, so the description should be more comprehensive for a complete understanding.

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 baseline is 3. The description adds context about the embedding mechanism but does not provide additional details beyond the schema for parameters like data encoding or file format constraints.

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 'Embed data in palette color entry LSBs for indexed-color images' and specifies file formats (PNG PLTE or GIF), distinguishing it from sibling tools like gif_palette_lsb (likely detection/extraction) and img_lsb_embed (for non-palette images).

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 use for indexed-color images but does not explicitly state when to use versus alternatives (e.g., img_lsb_embed for direct-color) or when not to use (e.g., if palette has insufficient entries). No exclusion criteria are provided.

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/badchars/steganography-mcp'

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