Skip to main content
Glama

Release foreground control

foreground_control_release
Destructive

Release an active foreground-control lease and dismiss the Windows overlay to end a foreground session. Pass the leaseId to relinquish control.

Instructions

Release the active foreground-control lease and dismiss the Windows overlay.

Input Schema

NameRequiredDescriptionDefault
leaseIdYes
deviceIdNo
deviceNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, lowering the disclosure bar. The description adds a useful user-visible side effect ('dismiss the Windows overlay'), but does not say whether the lease is invalidated, whether an unacquired/stale leaseId errors, or whether the operation is idempotent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single tight sentence with the verb front-loaded and no filler. Nothing is wasted, though this concision is partly achieved by omitting needed detail.

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 mutation tool with 0% parameter coverage and no output schema, the description is too thin. It omits lease-lifecycle semantics, error/idempotency behavior, and the meaning of the device parameters that an agent needs to call it correctly.

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 3 parameters. The description sheds no light on leaseId (the sole required param), or on what deviceId/deviceName are used for, so it fails to compensate for a schema that documents none of its parameters beyond types.

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 ('Release') and resource ('the active foreground-control lease') plus the concrete side effect of dismissing the Windows overlay. It clearly reads as the inverse of foreground_control_acquire, but it never names that sibling or the pause/heartbeat alternatives, so differentiation is inferred rather than explicit.

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 when-to-use context is given. It does not tell the agent that this must pair with a prior foreground_control_acquire, nor whether to use it versus foreground_control_pause, heartbeat, or status. The agent must infer the lifecycle position entirely.

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