Skip to main content
Glama

Restore a compressed file

singularis_decompress
Idempotent

Restore a file compressed into .sing format bit-exact. Input the .sing path and optional output path; returns the restored path plus a hash check.

Instructions

Restore a file compressed by singularis_compress, bit-exact. Input: the .sing path; optional out_path. Returns the restored path and a hash check.

Input Schema

NameRequiredDescriptionDefault
pathYes
out_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: restoration is bit-exact and a hash check is performed, which tells the agent the output is verifiable and reversible with respect to compression. It does not say what happens when out_path collides with an existing file.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with purpose followed by inputs and return value; no filler. The terse 'Input: the .sing path; optional out_path' list style is efficient though slightly clipped.

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?

With an output schema present the description needn't detail return values, and it covers the round-trip contract with singularis_compress. But for a file-writing operation the destination behavior (default output location, overwrite behavior) is unspecified, which is a real completeness gap for a 2-parameter mutation tool.

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 0%, so the description carries the burden; it does add that the path is a .sing file and that out_path is optional, which is more than the bare schema. However it never explains the semantics of out_path being null (where the file lands by default) or what a supplied out_path means, leaving a meaningful gap.

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?

States a specific verb and resource ('Restore a file') plus the scope qualifier 'bit-exact', and names the paired sibling singularis_compress, so an agent can immediately tell this apart from the compressor and the other compute tools.

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?

Usage is only implied: the file must have been produced by singularis_compress, which routes the agent reasonably well. There is no explicit when-to-use framing, no statement of what happens if the input is not a .sing file, and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.