Skip to main content
Glama

get_device_info

Read-only

Read a selected iPhone, iPad, or simulator’s OS, readiness, and supported operations to choose the right input or capture method.

Instructions

Read the selected device's OS, readiness, and supported operations. Use its capability details to choose an input or capture method.

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": "get_device_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNo
device_idNo
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds useful substance the annotations do not: it discloses the returned content (OS, readiness, supported operations) and its role as a capability probe. It says nothing about what 'readiness' means operationally, whether the read can fail if no device is selected, or how the timeout interacts with a slow device.

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 with the purpose front-loaded and the follow-on usage hint second, with no filler. Slightly telegraphic phrasing ('its capability details') costs a little clarity but nothing is wasted.

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

Completeness3/5

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

For a three-parameter read tool with no output schema, the description should describe the return shape more concretely and explain the optional parameters. It adequately conveys what class of information comes back, which is the most important part, but leaves the parameter surface and failure conditions unaddressed.

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 three parameters, so the description must carry the burden and it largely does not. 'Selected device' faintly gestures at device_id, but refresh (a boolean re-query flag) and timeout_ms are left entirely unexplained in both schema and description. An agent must guess whether passing refresh re-fetches cache or triggers a device handshake.

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?

The description names a specific verb ('Read') and a concrete resource: the selected device's OS, readiness, and supported operations. That is clearly distinct from siblings like list_devices or select_device. It stops short of explicitly naming a sibling to contrast with, which keeps it out of the 5 tier.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'Use its capability details to choose an input or capture method' implies the tool is a pre-flight check before acting on a device, which is genuine context. However, it gives no explicit when-not condition, no prerequisites (e.g. must a device already be selected), and does not name alternatives such as list_devices for enumerating devices.

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