Skip to main content
Glama

Let GUI pop-ups answer themselves

cm_popup_timeout
Destructive

Set a timeout so GUI pop-ups answer themselves with their default choice, preventing questions like unsaved changes from blocking automated CarMaker runs.

Instructions

Let GUI pop-ups raised by this server's commands answer themselves with their DEFAULT choice, so that a question such as 'Vehicle not saved. All changes will be lost. OK to continue?' cannot block a run. The default answer there discards the unsaved changes. Read what was answered with cm_popups. Stays until set back, cm_revert_all or a GUI restart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secondsYesSeconds until a pop-up answers itself; 0 = never shown; -1 = wait for a click in the GUI (the normal setting)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by disclosing the actual consequence: the default answer discards unsaved changes, and a concrete 'All changes will be lost' example makes the risk tangible. It also discloses persistence ('Stays until set back, cm_revert_all or a GUI restart'), which annotations 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the purpose, then supplies the destructive consequence, the sibling to read results, and the persistence scope in a compact run of sentences. Slightly dense, but every sentence carries distinct, useful information.

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 single-param toggle with annotations and an output schema present, the description supplies everything needed: purpose, risk, companion tool for verifying results, and lifetime. Nothing an agent needs to invoke it correctly 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 coverage is 100%, so the schema already documents the seconds parameter including the meaningful 0/-1 sentinel values. The description adds no additional parameter nuance beyond the persistence note, 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 action (make GUI pop-ups auto-answer with their default) and the resource (this server's pop-ups), with a concrete example of the blocking question it addresses. It also names the related sibling cm_popups, letting an agent separate this from other popup tools without opening schemas.

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?

Explains the motivating scenario clearly ('cannot block a run') and points to cm_popups to read the answers, which routes the agent correctly. It stops short of stating explicit exclusions or when an agent should avoid setting a timeout, but the use context is unambiguous.

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