Skip to main content
Glama

torch_pack_archive

Pack a directory of prepared assets into O2R or OTR archives without needing a ROM or config.yml.

Instructions

Pack a directory of prepared resource files into an O2R or OTR archive without requiring a ROM or config.yml.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYesInput directory containing prepared assets to pack recursively
formatYesArchive type: "o2r" or "otr"
targetYesOutput archive file path (.o2r or .otr). Must NOT be inside the input folder!
versionNoOptional archive port-version (X.Y.Z uint16 format e.g. "1.0.0")
timeout_msNoTimeout in milliseconds
torch_pathNoOptional custom path to torch binary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and it does add one genuinely useful behavioral trait: no ROM or config.yml is required, which shapes an agent's expectation about prerequisites. However, it discloses nothing about side effects such as whether an existing target file is overwritten, whether the source folder is left untouched, or that it shells out to a torch binary (implied only by torch_path/timeout_ms params).

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?

A single, front-loaded sentence with zero filler. The purpose is stated immediately and the key differentiator is included. It is efficient, though the one-sentence structure leaves no room for usage routing or behavioral caveats.

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 6-parameter tool with no output schema and no annotations, the description covers the essential purpose but leans heavily on the schema for everything else. It adequately explains what the tool does and one distinguishing constraint, but an agent still cannot infer overwrite behavior, dependency on the torch binary, or error conditions without additional probing.

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 the baseline is 3. The description adds marginal meaning by framing 'folder' as 'a directory of prepared resource files' and referencing the O2R/OTR archive types that map to the format enum, but it does not explain the version uint16 format or the torch_path dependency beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Pack a directory of prepared resource files into an O2R or OTR archive') and adds a key scoping fact: it works without a ROM or config.yml. It does not explicitly name the closest sibling (torch_export_archive), but the 'without requiring a ROM or config.yml' clause effectively carves out its niche.

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 phrase 'without requiring a ROM or config.yml' implies when to prefer this tool (when those inputs are unavailable), but it never names alternatives like torch_export_archive, nor states when NOT to use it. Usage context is implied rather than explicit.

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