Skip to main content
Glama

img_lsb_embed

Hide a message inside a PNG image by modifying its least significant bits. Embed text into specified color channels and output a new stego image.

Instructions

Embed a message into an image using LSB steganography. Reads a PNG file, embeds the message into the least significant bits, and writes a new PNG file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage to embed
channelsNoChannels to embed into: r,g,b,a (default: r,g,b)
file_pathYesPath to source PNG image file
output_pathYesOutput file path for the stego image
Behavior3/5

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

No annotations are provided, so the description bears full burden. It discloses file operations but omits details like maximum embeddable message size, effect on image pixels, or any irreversible changes.

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 concise sentences with no filler. The first sentence defines the action, the second adds process detail, achieving maximum efficiency.

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?

For a tool with 4 parameters and no annotations or output schema, the description covers the main action but lacks critical context like message capacity, requirements for source image, or behavior on failure.

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?

Parameter descriptions in the schema already explain each field (e.g., 'message' as 'Message to embed'). The description adds no new per-parameter meaning, meeting the baseline for 100% schema coverage.

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 states the tool's purpose: embedding a message into an image using LSB steganography. It specifies the file type (PNG) and the process (reads, embeds, writes), effectively distinguishing it from sibling tools like img_lsb_extract.

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 usage for hiding messages but provides no explicit guidance on when to use this tool versus alternatives (e.g., img_lsb_detect or extract) or conditions like message size limits.

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