Skip to main content
Glama

create_comment

Inject hidden data into PNG, JPEG, or GIF comment fields using format-specific standards. Metadata tools can retrieve the embedded comment.

Instructions

Inject data into format-specific comment fields. Supports PNG tEXt chunks, JPEG COM markers, and GIF comment extensions. The comment is stored in a standards-compliant way that most viewers ignore but metadata tools can read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentYesComment data to inject
file_pathYesPath to the cover image file (PNG, JPEG, or GIF)
output_pathYesPath for the output file
Behavior4/5

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

No annotations present, so description carries full burden. It usefully discloses that the comment is stored in a standards-compliant way that most viewers ignore, indicating stealthy behavior. However, it does not mention side effects, size limits, or error handling.

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?

Three sentences with no wasted words. The action comes first, and the rest provides essential detail. Perfectly concise for the tool's complexity.

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?

Given 3 parameters, no output schema, and no annotations, the description covers the core purpose, supported formats, and an important behavioral attribute. It lacks return value details and error conditions, but for a simple injection tool it is fairly complete.

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 coverage is 100%, so baseline is 3. The parameter descriptions in the schema are minimal but clear. The tool description adds context about format-specific comment fields but does not elaborate on constraints like comment length or encoding beyond the schema.

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 it injects data into format-specific comment fields, lists supported formats (PNG, JPEG, GIF), and distinguishes itself from siblings like gif_comment and jpeg_comment which are likely for reading comments.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implicitly indicates it is for writing comments by saying 'Inject data', but does not explicitly guide when to use this tool vs alternatives like create_metadata or format-specific comment tools. No when-not-to-use guidance is given.

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