Skip to main content
Glama

diff_project_config

Read-onlyIdempotent

Compare this Unreal project's Config/Default*.ini files against another project's to find settings that differ or failed to migrate, including collision channels, input mappings, and plugins.

Instructions

Diff THIS project's Config/Default*.ini against ANOTHER project's, aligned by section+key (pure file read via FConfigFile::Read; no world, no editor state). Surfaces settings that differ or failed to migrate: custom collision channels (GameTraceChannel/ObjectChannel under [/Script/Engine.CollisionProfile]), input mappings, enabled plugins ([Plugins]/[/Script/...]), and every other key. Perspective is THIS -> OTHER: 'added' = present in OTHER but not THIS; 'removed' = present in THIS but not OTHER; 'changed' = present in both with different value(s). Multi-value keys (array-of-struct like +Channels/+ActionMappings) are compared as sorted value lists so hash-ordering never yields a false diff.

Returns: { this_project_dir: string, other_project_dir: string, this_config_dir: string, other_config_dir: string, files: [ { file: string, this_exists: bool, other_exists: bool, this_section_count: int, other_section_count: int, added: [{ section, key, values:[string] }], removed: [{ section, key, values:[string] }], changed: [{ section, key, this_values:[string], other_values:[string] }], added_count: int, removed_count: int, changed_count: int } ], total_added: int, total_removed: int, total_changed: int, identical: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoOptional array of ini base filenames to compare (e.g. ["DefaultEngine.ini","DefaultInput.ini"]). Default: the union of Default*.ini present in EITHER project's Config folder.
sectionsNoOptional array of exact section names to restrict the diff to (e.g. ["/Script/Engine.CollisionProfile","/Script/EngineSettings.GameMapsSettings"]). Default: all sections.
other_project_dirYesFilesystem path to the OTHER project. Either the project ROOT (its 'Config' subfolder is used automatically) or a Config folder directly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already assert readOnlyHint/idempotentHint/non-destructive, and the description reinforces this ('pure file read ... no world, no editor state'). Beyond that it discloses genuinely useful behavior: THIS->OTHER perspective semantics for added/removed/changed, and that multi-value keys are compared as sorted value lists so hash-ordering cannot produce false diffs.

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 core purpose is front-loaded in the first sentence, followed by perspective semantics and only then the exhaustive return shape. Every sentence carries information; there is no output schema, so the detailed return contract is necessary rather than redundant.

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?

With no output schema, the description supplies the full return contract (per-file added/removed/changed arrays and totals), covers the perspective of the diff, and notes the edge case of multi-value key ordering. Safety is covered by annotations and parameters by the schema, so nothing an agent needs to invoke and interpret the tool 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 three parameters (files, sections, other_project_dir) are already documented in the schema, including defaults and accepted formats. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 and resource: diffs THIS project's Config/Default*.ini against ANOTHER project's, and enumerates exactly what it surfaces (collision channels, input mappings, plugins, all other keys). The scope and mechanism (pure file read via FConfigFile::Read, no world, no editor state) let an agent distinguish it from the numerous diff_* siblings that operate on blueprints, data tables, materials, or collision channels.

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

Usage Guidelines3/5

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

The phrase 'settings that differ or failed to migrate' implies the migration-audit use case, so context is present. However, no sibling alternative (e.g. diff_collision_channels, diff_data_tables) is named and there is no explicit when-not guidance. Usage is implied rather than stated.

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