Skip to main content
Glama

set_output_root

Set the base directory where character, outfit, and animation outputs are saved for this session. Creates the folder if missing and redirects new writes to it.

Instructions

Set where character/outfit/anim output is written for this MCP session.

Resolves to an absolute path and creates the directory. Persists until the MCP process exits or clear_output_root(). Does NOT move existing files — only redirects new writes. Per-call output_dir still overrides. Example: set_output_root("C:/Users/me/game/assets/art/sprites"). When unset, tools use /output/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses resolution to absolute path, directory creation, persistence, non-movement of existing files, redirect of new writes only, per-call override, and default when unset. It does not mention error handling or permission requirements, but the described behaviors are thorough for a setter.

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?

The description is compact yet information-dense. The main purpose is front-loaded in the first sentence, followed by essential behavior and a concrete example. Every sentence earns its place with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and the presence of an output schema (signal shows has_output_schema=true), the description covers all critical aspects: what it does, how it behaves (persistence, override, default), and provides an example. Nothing essential is missing for an agent to call it correctly.

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 coverage is 0% and the parameter is only named 'path'. The description adds meaning by explaining it resolves to an absolute path, gives an explicit example with a Windows-style path, and notes it creates the directory. This goes well beyond the bare 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?

States a specific verb ('set') and resource ('where character/outfit/anim output is written') for this MCP session. It clearly distinguishes from sibling get_output_root (retrieves) and clear_output_root (resets). The scope is unambiguous.

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?

Provides clear context: persists until process exit or clear_output_root(), and per-call output_dir overrides. It implicitly tells when to use (to change global output location) but does not explicitly say 'use this when you need to redirect all output' or exclude alternatives beyond the override. Still, the guidance is concrete and actionable.

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