Skip to main content
Glama
droidpilot

droidpilot

by Mihirokte

observe

Captures the current Android screen state—numbered UI elements, snapshot ID, app/rotation/keyboard status, and screen-change flag—so agents can inspect before acting.

Instructions

Numbered UI elements, a snapshot id, app/rotation/keyboard state and whether the screen changed. Call before acting.

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

Input Schema

NameRequiredDescriptionDefault
imageNoalso return a screenshot
diff_onlyNolist only elements that are new since the last observe

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the returned state: numbered elements, snapshot id, app/rotation/keyboard state, and a change flag. It leaves unstated what the snapshot id is for or whether stale snapshots invalidate element numbers, but the read-only nature and payload shape are conveyed.

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 no filler, and the payload summary comes before the usage directive. The clipped noun-fragment opening is slightly awkward but costs nothing in clarity.

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?

There is no output schema and no annotations, so the description must describe the return value; it does so reasonably well. What is missing is the role of the snapshot id and how long the numbered elements remain valid for follow-up taps, which matters for a core observe-then-act loop.

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 description coverage is 100%, so image and diff_only are already documented in the schema. The description adds no extra meaning about them, though 'whether the screen changed' loosely hints at the diff concept; baseline 3 applies.

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 spells out the resource precisely: numbered UI elements, a snapshot id, and app/rotation/keyboard state. It lacks an explicit verb, but the clause 'whether the screen changed' and the listed payload make it clearly the observation/snapshot tool, distinct from action siblings such as tap or screenshot.

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?

'Call before acting' gives a concrete, unambiguous trigger for use, which is the key sequencing rule for this tool. It does not name exclusions or alternatives (for example, when device_status or screenshot is preferable), so it falls short of the top score.

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