Skip to main content
Glama

sim_screenshot

Read-only

See an iOS simulator's screen as an image (the running one, or udid). Positions for sim_action are fractions of this image: x from the left, y from the top, 0 to 1. Needs ui permission.

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

Input Schema

NameRequiredDescriptionDefault
udidNo
deviceIdNoComputer name or id
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
    • removedInput schema / properties / udid / maxLength
      Removed value: -40
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish a safe read-only, non-destructive, non-open-world operation, and the description adds a real prerequisite beyond that: 'Needs ui permission.' It also discloses the semantic relationship between the returned image and sim_action's coordinates, though it says nothing about image scale/resolution or behavior when no simulator is booted.

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 compact sentences, purpose front-loaded, then coordinate contract, then permission requirement. No redundant or filler wording; every sentence carries information.

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 three-optional-parameter read tool with annotations but no output schema, the description covers purpose, target selection, the coordinate contract for sim_action, and the ui permission requirement. The main remaining gap is return-value characteristics such as image format or dimensions, which the agent may need to reason about.

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 67%, leaving udid undocumented in the schema; the description compensates by explaining the '(the running one, or udid)' choice, i.e. omit udid to target the live simulator. deviceId and workSessionId rely on their schema descriptions, so the description adds targeted value where it is most needed.

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: capture an iOS simulator's screen as an image, and clarifies the target may be the currently running simulator or one chosen by udid. Clear enough for an agent to distinguish it from generic screen-capture siblings, though it does not explicitly name or differentiate an alternative.

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?

Embeds clear usage context by explaining that the returned image defines the coordinate space for sim_action (x and y as 0-1 fractions), which tells the agent this is the prerequisite step before acting on the screen. No explicit exclusions or when-not-to-use guidance is given.

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