Skip to main content
Glama

app_select

Select a row, tab or list item of the latest app_snapshot; selecting a row usually opens it (an email, a file). Returns the app's new state with the next snapshotId, so no extra snapshot is needed. If the window changed, or a person used the keyboard or mouse in the app since the snapshot, 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).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "snapshotId": "<snapshotId>",
      "elementId": "<elementId>"
    },
    "name": "app_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNoComputer name or id
takeOverNoOnly when the user says so: act even though another conversation is operating this screen, which then holds it no longer.
elementIdYes
snapshotIdYes
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Changed1 schema field changed
    • addedInput schema / properties / takeOver
      Added value: +{
      +  "description": "Only when the user says so: act even though another conversation is operating this screen, which then holds it no longer.",
      +  "type": "boolean"
      +}
  4. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the return shape (new app state with the next snapshotId, so no extra snapshot is needed), the no-op-with-error behavior on stale snapshots or human interference, the caveat that a sent action is not proof of success, and the required ui/process permissions. The annotations declare non-read-only, non-destructive, open-world behavior, and the description is consistent with that while adding meaningful operational context.

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 action and its effect, then layers in return value, failure modes, caveats, and permissions in a logical order. Sentences are dense but each carries distinct information; a tighter opening clause naming the non-opening case would improve it slightly.

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?

With five parameters, no output schema, and moderate schema coverage, the description does the heavy lifting on return values, error behavior, and permissions. It is nearly complete for an agent to call it correctly, with only the sibling-selection ambiguity and the undocumented deviceId/workSessionId workflow left implicit.

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 60%, with deviceId, takeOver, and workSessionId already described in the schema. The description compensates for the undescribed parameters by implying elementId refers to a row, tab, or list item on the latest snapshot and that snapshotId must be current, which adds meaning beyond the bare integer/uuid 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 and resource: selecting a row, tab, or list item of the latest app_snapshot, and clarifies the consequence (usually opens an email or file). This is far more specific than the name alone, though it never explicitly contrasts itself with siblings like app_press or app_show_menu, so the agent must infer that pressing a button is a different tool.

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?

Gives a clear precondition ('of the latest app_snapshot') and describes the failure mode when a snapshot is stale or the user has interacted with the app, which effectively tells the agent when this call is valid. It does not explicitly name an alternative tool for cases where the element is a button rather than a row/tab/list item, which is the main remaining gap.

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