Skip to main content
Glama

set_engine_ini_value

DestructiveIdempotent

Writes and verifies a saved Unreal Engine INI config value: set a section key, flush it to Saved/Config//, and read it back to confirm.

Instructions

Write one key into the GConfig copy of an INI (Engine by default), flush it to the saved config under Saved/Config//, and verify by reading it back (applied). It does not edit Config/Default*.ini, and objects that already loaded their config are not reloaded.

Returns: { applied, section, key, value, readback_value }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey inside the section, e.g. "r.DefaultFeature.AntiAliasing"; its current value is replaced.
valueYesValue as text, written verbatim; an empty string is allowed.
sectionYesINI section, e.g. "/Script/Engine.RendererSettings"; created when missing.
config_fileNoConfig base name without extension, e.g. "Engine" (default), "Game", "Input"; "Engine.ini" is not resolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • changedInput schema / properties / config_file / description
      Previous value: -"INI file base name (default \"Engine\")"New value: +"Config base name without extension, e.g. \"Engine\" (default), \"Game\", \"Input\"; \"Engine.ini\" is not resolved."
    • changedInput schema / properties / key / description
      Previous value: -"Key name"New value: +"Key inside the section, e.g. \"r.DefaultFeature.AntiAliasing\"; its current value is replaced."
    • changedInput schema / properties / section / description
      Previous value: -"Section name"New value: +"INI section, e.g. \"/Script/Engine.RendererSettings\"; created when missing."
    • changedInput schema / properties / value / description
      Previous value: -"Value to write"New value: +"Value as text, written verbatim; an empty string is allowed."
  2. First observedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare destructive/idempotent/non-readOnly, but the description adds substantial context beyond them: the write targets the GConfig copy, is flushed to Saved/Config/<Platform>/, is verified via readback, and does not reload already-loaded config. This discloses persistence behavior and a key limitation that annotations alone cannot convey.

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 action is front-loaded, followed by the important caveats and then the return payload. With no output schema present, the explicit 'Returns:' line earns its place, and there is 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 config-mutation tool with no output schema, the description covers the target store, the flush destination, the verification step, the non-reload limitation, and the return shape. Nothing an agent needs to call it correctly or interpret the result is missing.

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 100%, so all four parameters are already documented in the schema. The description adds only the implicit 'Engine by default' framing for config_file and maps section/key/value into the return shape; it does not add format or validation meaning beyond the schema. Baseline 3 is appropriate.

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 gives a specific verb and resource ('Write one key into the GConfig copy of an INI') and immediately delineates scope by stating it does not edit Config/Default*.ini, which separates it from sibling config tools like set_cvar and set_project_settings_value. An agent can identify exactly what this tool mutates without opening the schema.

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?

It provides clear operating context and an exclusion ('does not edit Config/Default*.ini', objects already loaded are not reloaded), which tells the agent when the change takes effect. However, it never names an explicit alternative (e.g. use get_engine_ini_value to read back, or set_cvar for console variables), so the routing guidance is contextual rather than directive.

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

Deploy Server

Other Tools