Skip to main content
Glama
SaloQT

imgui-mcp

by SaloQT

imgui_remove_callback

Remove declarative callbacks from Dear ImGui game UIs by filtering on trigger widget and/or action type, allowing precise cleanup of event handlers during live UI design.

Instructions

Remove declarative callbacks. Filter by trigger_widget and/or action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoAction type to remove
trigger_widgetNoTrigger widget to remove callbacks for
Behavior2/5

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

No annotations are provided, so the description carries the full burden. The description doesn't disclose what happens when no filter is provided (does it remove ALL callbacks?), whether removal is scoped to a window/scene, side effects of removal, or what success/response looks like. 'Remove' implies mutation but the destruction semantics are underspecified.

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?

One concise sentence, no waste, immediately states the purpose and the filtering capability. Could be slightly more informative but is appropriately terse.

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 2-parameter filter tool with zero required parameters and no annotations, the description should clarify edge cases (removal with no filters, interaction between filters, scoping). It's minimally adequate but leaves the all-removal and filter-combination semantics ambiguous, which an agent needs to know for a destructive operation.

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 both parameters have descriptions in the schema (Action type to remove, Trigger widget to remove callbacks for). The description restates that these are filters but doesn't add format/syntax details, wildcard behavior, or whether filters can be combined. Baseline 3 is appropriate given full schema coverage.

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?

The description states a specific verb+resource ('Remove declarative callbacks') and mentions the two filtering parameters (trigger_widget and/or action). It's clear about what it does. However, it doesn't explicitly distinguish itself from the sibling imgui_set_callback (the counterpart), though the removal intent is clear enough.

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 description says callbacks can be filtered by trigger_widget and/or action, which implies usage context (both parameters optional, filter-based removal). However, it doesn't explain when to choose this over alternatives, when all callbacks are removed (if neither filter given), or add/remove semantics relative to imgui_set_callback.

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