Skip to main content
Glama
SaloQT

imgui-mcp

by SaloQT

imgui_set_theme_color

Set ImGui UI theme colors by name, such as WindowBg, Button, or Text, using RGBA values to customize the visual style of your game interface in real time.

Instructions

Set a specific ImGui style color by name. Color names include: Text, WindowBg, FrameBg, Button, ButtonHovered, ButtonActive, Header, HeaderHovered, HeaderActive, Border, CheckMark, SliderGrab, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorYesRGBA color values [r, g, b, a] each 0.0-1.0
col_nameYesImGui color name (e.g. 'WindowBg', 'Button', 'Text')
Behavior3/5

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

No annotations provided, so description carries the burden. It does not state whether the change is persistent vs. scoped, whether it affects only the next frame vs. all subsequent frames, or whether it requires a re-draw. No mention of side effects on other connected style properties. Adequate but not rich behavioral context.

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?

Two sentences total, front-loaded with the primary action. The color name enumeration is efficient and useful. No wasted words, but could be slightly tightened.

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

Completeness3/5

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

For a simple two-param tool with full schema coverage and no output schema, the description covers the essentials: what it does and valid input values. However, no behavioral clarity on persistence/scope, and no guidance distinguishing from push/pop alternatives given a crowded sibling space with related tools.

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?

Schema coverage is 100%, with both params described (RGBA values with range, and color name format). The description adds value by enumerating valid color names (WindowBg, Button, Header, etc.), which goes beyond the schema's single example. This compensates for the absence of enum validation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb+resource: 'Set a specific ImGui style color by name.' Distinguishes from imgui_set_style (bulk), imgui_push_style_color (stack-based), and imgui_set_style_var (style variables, not colors) through the 'by name' qualifier and emphasis on individual color setting.

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?

No explicit statement of when to use this vs. alternatives like imgui_push_style_color or imgui_set_theme. The distinction between setting a persistent color vs. push/pop scoped colors is implied but never stated, though the color names list provides useful context for legitimate usage.

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/SaloQT/imgui-mcp'

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