Skip to main content
Glama

Reload image presets

codex_preset_reload

Reload presets from disk to apply external edits without a restart. If the file is invalid, existing presets are preserved, preventing loss.

Instructions

Re-read the presets file from disk, picking up edits made outside this server without a restart. If the file has become unusable the call fails and the presets already loaded are kept, so a bad edit never leaves the instance with none.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.7

TDQS

A4.4/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it discloses that a bad file will cause the call to fail and that currently loaded presets are preserved. This gives the agent important safety information about failure modes, though it doesn't describe the success return value or side effects in detail.

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 two sentences with no filler. The primary action is front-loaded, and the failure-safety behavior is added in a compact second sentence. Every word contributes value.

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

Completeness4/5

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

For a zero-parameter, no-output-schema tool, the description covers the essential context: what the tool does, when it is useful, and what happens on failure. It is complete enough for an agent to invoke it correctly, even if it omits a precise success response description.

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?

The tool has zero parameters, so there are no parameter semantics to document. The baseline of 4 applies because no parameter explanation is needed and the description focuses on the operation itself rather than inventing unnecessary parameter details.

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 states a specific verb ('re-read') and resource ('presets file from disk'), making the action immediately clear. It also distinguishes itself from sibling tools like codex_preset_set, codex_preset_update, and codex_preset_list by focusing on reloading from disk rather than mutating or listing presets.

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?

The description clearly implies when to use the tool: after presets were edited outside the server, to apply changes without a restart. It does not explicitly name alternatives or exclusions, but the context is strong enough that an agent would not confuse it with the sibling preset tools.

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