Skip to main content
Glama

bpcs_extract

Extract hidden data from image files by analyzing complex regions in bit planes, then assembling extracted bits into structured output with magic byte detection and entropy analysis.

Instructions

Extract data from BPCS complex regions. Gathers bits from all blocks that exceed the complexity threshold in the specified bit plane, assembling them in raster-scan order. The extracted bytes are analyzed for structure including magic bytes, entropy, and printable text content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planeNoBit plane: 0=LSB, 7=MSB (default: 0)
channelNoColor channel: 0=R, 1=G, 2=B (default: 0)
file_pathYesPath to image file (PNG or JPEG) for BPCS extraction
max_bytesNoMaximum bytes to extract (default: 4096)
thresholdNoComplexity threshold (0.0-1.0, default: 0.3)
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the extraction process (gathers bits, assembles, analyzes for structure) which is helpful. However, it does not explicitly state that the tool does not modify the file (non-destructive) or mention any required permissions.

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 with no fluff. The first sentence states the purpose, the second elaborates on the process. Efficient and well-structured.

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?

With 5 parameters and no output schema or annotations, the description provides a good overview of the tool's workings. It does not mention return format or file type constraints, but schema covers file_path type. Reasonably complete for a complex extraction tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions are detailed (100% coverage) and the tool description adds context by explaining how the parameters (threshold, plane) affect the extraction logic. This goes beyond the individual parameter 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 'Extract data from BPCS complex regions' and details the process (gathers bits from blocks exceeding threshold, assembles in raster-scan order). This distinguishes it from sibling tools like bpcs_detect and bpcs_complexity_map, which serve different purposes.

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?

No explicit guidance on when to use or not use this tool vs alternatives. The description implies it is used after detection, but does not mention appropriate contexts or mention sibling tools.

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