Skip to main content
Glama

Remember session settings

umodel_session_set

Set or clear in-memory session settings for umodel, including executable path, output directory, and AES mode, without writing to disk. Use to preconfigure values or clear unwanted settings.

Instructions

Store settings in the in-memory session (nothing is written to disk). NOTE: most values (gamePath/gameTag/aesKeys/pakAesKey/pakAesMode) are auto-remembered whenever you pass them to any tool, so you rarely need this tool — use it only to set values ahead of time, clear them (empty string), or configure pure settings: umodelExe (user-confirmed), outputDir, pakAesMode. IMPORTANT: umodelExe and gamePath must come from the user — ask the user for the umodel executable path and the game/pak directory before setting them; never guess. Only fall back to umodel_find_exe when the user does not know the path or the given path is wrong. Pass an empty string to clear a field. outputDir defaults to the Downloads folder when unset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aesKeysNoAES keys (-aes=)
gameTagNoDefault game tag (-game=)
gamePathNoGame / pak directory (ask the user first)
outputDirNoExport output directory (-out=). Default: Downloads/umodel-export
pakAesKeyNoAES key (hex, 0x prefix optional) for pak index decryption
umodelExeNoPath to the umodel executable the USER confirmed as the right version for the target game (ask first). Setting this marks the exe as confirmed; auto-discovery alone leaves it unconfirmed.
pakAesModeNoPak AES mode: standard, or bitflip for games with custom bit-flipped AES. Pass "" to clear.
Behavior5/5

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

With no annotations provided, the description carries the behavioral burden. It discloses persistence (in-memory only), auto-remember behavior, clearing via empty string, the outputDir default, and the requirement that umodelExe and gamePath must come from the user. This is far beyond what the schema shows.

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 dense but every clause adds value: main purpose, auto-remember note, user-confirmation requirement, fallback guidance, clearing semantics, and default. It is structured with clear signposts ('NOTE', 'IMPORTANT') and no filler.

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?

For a 7-parameter state-mutation tool with no annotations and no output schema, the description covers all necessary decisions: when to invoke, how to clear, defaults, user-confirmation, and alternatives. It leaves little room for mis-invocation.

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

Parameters5/5

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

Though schema coverage is 100%, the description adds operational meaning: it groups parameters by whether they are auto-remembered or need explicit setting, explains that empty strings clear values, and documents the Downloads default for outputDir. This helps the agent decide what to pass.

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?

The description opens with 'Store settings in the in-memory session' and clarifies nothing is written to disk, giving a specific verb and resource. It also distinguishes this tool from auto-remembered values and sibling tools like umodel_find_exe, making its scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states 'use it only to set values ahead of time, clear them (empty string), or configure pure settings' and identifies when not to use it ('most values are auto-remembered'). It also names the alternative fallback, umodel_find_exe, with a clear condition for using it.

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/CHA1007/Umodel-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server