Skip to main content
Glama

get_engine_ini_value

Read-onlyIdempotent

Read a single key from an Unreal Engine INI config such as Engine or Game and return its value with a found flag. Use it to inspect merged INI settings read-only.

Instructions

Read one key from the merged in-memory config (GConfig) of an INI such as Engine or Game. Read-only; returns value and found (false, with an empty value, when the section or key is missing). Pass config_file without .ini. Writer: set_engine_ini_value.

Returns: { section, key, value, found }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey inside the section, e.g. "r.DefaultFeature.AntiAliasing".
sectionYesSection name (e.g. "/Script/Engine.RendererSettings")
config_fileNoConfig base name without extension, e.g. "Engine" (default), "Game", "Input", "Editor", "Scalability"; "Engine.ini" is not resolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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\", \"Editor\", \"Scalability\"; \"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\"."
  2. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only and idempotent safety, but the description adds real behavior beyond them: the missing-key contract (found=false with empty value), that the read is from a merged in-memory config, and the config_file naming constraint. This goes meaningfully past the structured hints.

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?

Front-loaded with the core action, then behavior, then the sibling pointer. Efficient overall, though 'Read-only' overlaps with annotations and the return-shape line partially repeats the missing-key sentence.

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 simple no-output-schema read tool, the description supplies purpose, the missing-key behavior, return shape, and the writer counterpart. Nothing critical is missing, though the merge precedence (which INI wins) is left implicit.

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 the schema already documents section, key, and config_file. The description's parameter note ('Pass config_file without .ini') largely restates the schema's own admonition that 'Engine.ini is not resolved', so it adds little beyond the baseline.

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 ('Read one key') and resource (config key from the merged in-memory GConfig of an INI), and immediately scopes it against the sibling writer set_engine_ini_value. An agent can distinguish this read tool from its write counterpart without opening either 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?

Explicitly names the writer counterpart ('Writer: set_engine_ini_value'), giving clear read-vs-write context. However it doesn't state exclusions or when another getter (e.g. project settings) would be preferable, so context is clear but not exhaustive.

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