Skip to main content
Glama

BCD — Bridge Control Delegate

app_press

Destructive

Press an element of the latest app_snapshot, as clicking it does: a button, menu item, link or checkbox. A press can send, delete or quit, as in the app itself; after a menu command the state is the front window. Returns the app's new state with the next snapshotId, so no extra snapshot is needed. If the window changed, nothing is done and the error comes with the current state to retry from. A sent action is not proof the task succeeded. Needs ui and process permission (operating apps can run programs).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdNoComputer name or id from list_devices. Optional with one computer online or a default set.
elementIdYes
snapshotIdYes
workSessionIdNoWork session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds rich traits beyond the annotations: a press can send, delete or quit; menu commands leave the front window as state; a window change means nothing is done and the error carries the current state; and 'a sent action is not proof the task succeeded'. It also discloses the required ui and process permissions and the risk that operating apps can run programs.

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 core purpose and keeps the high-value caveats (retry-on-window-change, permissions) tightly packed. It's dense but nearly every sentence earns its place; only the 'as in the app itself' clause is slightly padded.

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

Completeness4/5

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

Even without an output schema, the description explains the return value (the app's new state with the next snapshotId, so no extra snapshot is needed) and the error/retry contract. Combined with permissions and destructive-behavior notes, an agent has what it needs to call it correctly.

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

Parameters4/5

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

Schema coverage is only 50% (deviceId and workSessionId documented, elementId and snapshotId not). The description compensates by tying snapshotId to the 'latest app_snapshot' and clarifying that elementId is one of its elements, adding real meaning for the two undocumented parameters.

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 verb (press) plus the resource and scope (an element of the latest app_snapshot), and enumerates the concrete targets (button, menu item, link, checkbox). This lets an agent distinguish it from siblings like app_type, app_select, and app_increment without opening their 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?

Clearly frames the precondition (must press an element of the latest app_snapshot) and the retry path when the window changes. It doesn't explicitly contrast when to use this over app_select/app_type, but the operating context is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources