Skip to main content
Glama

Device info

device_info
Read-onlyIdempotent

Retrieve session capabilities and device details, including model, iOS version, and screen size, reported by WebDriverAgent to confirm which iPhone or iPad an agent is controlling.

Instructions

Session capabilities and device info (model, iOS version, screen) reported by WebDriverAgent.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered without the description. The description's only added behavioral value is origin attribution ('reported by WebDriverAgent'), which hints that a live driver session is required, but it never states what happens without a session or how stale the report is.

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?

A single front-loaded sentence with no padding; the resource and its origin come first. Slight compression ('session capabilities and device info') blurs two distinct payload kinds into one phrase rather than separating them.

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 zero-parameter, read-only introspection tool this covers the essentials, and annotations carry the safety profile. Because there is no output schema, the description ideally would enumerate the full returned shape ('session capabilities' is left vague), which keeps it from a 5.

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?

There are zero parameters, which sets the baseline at 4. The enumerated fields (model, iOS version, screen) describe the payload rather than inputs, which is still useful orientation and does not conflict with the empty schema.

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 resource (device info: model, iOS version, screen) plus session capabilities, so an agent can tell it reports metadata rather than screen content or app state like its siblings. It stops short of explicitly contrasting itself with siblings such as current_app or page_source, which is what a 5 would require.

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?

Usage is only implied: an agent can infer it should call this when it needs device/session facts, but there is no statement of when to prefer it over page_source or screenshot, nor any preconditions. No exclusions or alternatives are mentioned.

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