Skip to main content
Glama

select_device

Idempotent

Set the default iOS device used by later calls when they omit a device argument; omit the value to clear this session choice.

Instructions

Choose which device later calls use when they don't pass "device". Lasts for this server session and is shared by every agent using it, so parallel agents on different devices should pass "device" instead. Omit device to clear the choice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "select_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice UDID or name substring; omit to clear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare a non-read-only, idempotent, non-destructive mutation; the description matches and adds real context beyond them: the scope ('lasts for this server session') and the cross-agent sharing semantics, which is the key risk for parallel callers. It does not say what happens when the device string matches nothing or is ambiguous, which is the remaining behavioral gap.

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?

Three tight sentences, front-loaded with the effect, then the session/sharing caveat, then the reset instruction. No filler and nothing buried.

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?

For a one-parameter, single-purpose tool this covers the effect, lifetime, sharing model, and clearing behavior. Only the failure mode for an unmatched or ambiguous device string, and whether the call returns the resolved device, are unaddressed.

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

Parameters3/5

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

Schema coverage is 100% and the schema already explains 'Device UDID or name substring; omit to clear'. The description reinforces the omit-to-clear semantics but adds no matching rules, format examples, or behavior for ambiguous substrings, so the baseline of 3 applies.

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 precise verb and effect: 'Choose which device later calls use when they don't pass "device"'. That makes it clearly a default-selection tool, distinct from list_devices or per-call device arguments, without needing to open 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 Guidelines5/5

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

Gives both the use case (later calls omitting "device") and an explicit exclusion: 'parallel agents on different devices should pass "device" instead'. It also documents how to undo the setting ('Omit device to clear the choice'), so when-to-use, when-not-to-use, and reset are all covered.

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