Skip to main content
Glama

Acquire foreground control

foreground_control_acquire
Destructive

Reserve the Windows foreground for AI GUI automation and display a topmost overlay until the task ends or heartbeat expires.

Instructions

Reserve the human-interaction foreground for AI GUI work and show a topmost Windows overlay until released or heartbeat expiry.

Input Schema

NameRequiredDescriptionDefault
taskNo操作电脑
ownerNoChatGPT
ttlMsNo
deviceIdNo
deviceNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false. The description adds genuinely useful context beyond them: a topmost Windows overlay is created and the hold is lease-based, ending on release or heartbeat expiry. It still omits the critical conflict case (what happens if the foreground is already held) and any permission/error behavior.

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?

A single front-loaded sentence that states purpose and termination condition with no filler. Efficient, though for a 5-parameter lease tool the brevity borders on under-specification rather than being purely a strength.

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

Completeness2/5

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

For a 5-parameter, zero-coverage, no-output-schema tool, the description leaves major gaps: parameter meanings, conflict/preemption behavior, and acquisition failure modes are all unstated. Annotations carry the safety profile, but the functional contract is thin.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 5 parameters. The description clarifies none of them – task, owner, deviceId, deviceName are unexplained, and ttlMs is only obliquely implied by 'heartbeat expiry' with no units, bounds, or default noted. The description does little to compensate for the coverage gap.

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?

States a specific verb (reserve/acquire) and resource (the human-interaction foreground) plus the visible effect (topmost Windows overlay), so the agent knows exactly what this does. It is clearly the 'acquire' member of the foreground_control_* family, though it never names those siblings to sharpen the distinction.

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

Usage Guidelines2/5

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

No explicit when-to-use, preconditions, or alternatives are given. The lifecycle phrase 'until released or heartbeat expiry' hints that release/heartbeat must follow, but the agent must infer that from the sibling names rather than from any stated guidance.

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