Skip to main content
Glama

rotate

Request a supported device orientation, read the effective orientation, and refresh the screen before using coordinates after the change.

Instructions

Request a supported device orientation and read the effective orientation when available. Refresh the screen before using coordinates after rotation.

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": {
      "orientation": "<orientation>"
    },
    "name": "rotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idNo
timeout_msNo
orientationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations (which only say not read-only, open-world, non-idempotent, non-destructive), the description discloses that the requested orientation may not take effect — 'read the effective orientation when available' — which signals asynchronous or best-effort behavior the agent must verify. The stale-coordinates warning adds a real post-condition caveat, though permission or platform-support requirements are unstated.

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 tight sentences with no filler, and the core action is front-loaded ahead of the follow-up instruction. The second sentence is a separate operational caveat that could be slightly clearer about ordering, 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 device-state-mutating tool with no output schema and zero documented parameters, the definition covers the action and the post-rotation caveat but omits the two non-required parameters and does not say what the returned 'effective orientation' looks like when unavailable. Adequate but with clear gaps for a multi-parameter, open-world tool.

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% for three parameters, so the description must compensate and does not. It only hints that orientations are constrained ('supported device orientation', matching the enum) while device_id (target selection) and timeout_ms (presumably how long to wait for the rotation to settle) are left entirely unexplained.

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 pairs a specific verb ('request') with a specific resource ('device orientation') and adds the dual behavior of reading back the effective orientation. It is clearly distinct from UI-action siblings like double_tap or drag, though it does not explicitly name any alternative.

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?

It gives one actionable workflow rule — refresh the screen before using coordinates after rotating — which tells the agent what to do after the call. It stops short of saying when to rotate versus using another mechanism, or when not to call it (e.g. unsupported platform, already in target orientation).

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