spl_decompress
Restore bytes packed by spl_compress. Args: packed_b64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packed_b64 | Yes |
Restore bytes packed by spl_compress. Args: packed_b64.
| Name | Required | Description | Default |
|---|---|---|---|
| packed_b64 | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It only states 'Restore bytes' and does not disclose the output type, whether the operation is reversible, error behavior, or any side effects. The agent is left without behavioral expectations beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately short and front-loads the core purpose. The 'Args: packed_b64' clause is somewhat redundant with the schema, but it is harmless and keeps the essential information visible without unnecessary padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no annotations and no output schema, the description is too sparse. It does not explain what the output looks like, whether it returns a string or binary data, or how errors are surfaced. An agent would need more context to confidently use the tool across varied situations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, so the description must explain packed_b64. It merely repeats the parameter name and implies it is 'packed' data from spl_compress, but does not state that it is a base64-encoded string, what format is expected, or how it relates to the output. This is only a minimal improvement over the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Restore') and a clear resource ('bytes packed by spl_compress'), making the decompression action unambiguous. By naming spl_compress, it actively distinguishes this tool from its sibling and indicates the inverse operation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly establishes the context: use this tool when dealing with data produced by spl_compress. It does not explicitly list alternatives or exclusion conditions, but the inverse relationship with spl_compress is a clear enough usage signal.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.