Skip to main content
Glama

Pause or resume foreground control

foreground_control_pause
Destructive

Pause or resume an active AI foreground-control lease to block GUI automation input while paused, then restore control when resumed.

Instructions

Pause or resume the active AI foreground-control lease. GUI automation should refuse input while paused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pausedNo
leaseIdYes
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 declare destructiveHint=true, readOnlyHint=false and openWorldHint=false, so the risk profile is partly covered. The description adds genuinely new behavioral context — that pausing suppresses GUI input — but says nothing about reversibility, whether the lease must be held first, or effect on device scoping. Modest added value over the annotations.

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 short sentences, front-loaded with the action and followed by the operative effect. No filler, though the extreme brevity leaves little structure to speak of.

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 destructive, four-parameter lease-manipulation tool with 0% schema coverage and no output schema, the description does not supply enough to call it safely. It omits how the lease is identified, how device scoping works, and what state results from the toggle.

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 description coverage is 0% across four parameters, so the description carries the full burden and fails it. It never explains leaseId (required), paused (default true), or the deviceId/deviceName scoping pair; only the words "pause or resume" loosely imply the paused flag.

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 pair (pause/resume) and a specific resource (the active AI foreground-control lease), which cleanly separates it from acquire/heartbeat/release/status siblings by name. It doesn't explicitly name those alternatives, but the operation is identifiable without reading the schema.

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?

Offers a consequence ("GUI automation should refuse input while paused") but no guidance on when to pause versus release or heartbeat the lease, and no prerequisites. Choosing between this and foreground_control_release is left entirely to inference.

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