Skip to main content
Glama
droidpilot

droidpilot

by Mihirokte

gesture

Simulate arbitrary multi-finger touch patterns on a real Android phone by defining one polyline per finger and a duration, enabling rotate, three-finger swipe, and curve interactions.

Instructions

Arbitrary multi-finger gesture. All fingers move in lockstep over duration_ms (rotate, three-finger swipe, curves).

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": {
      "strokes": "<strokes>"
    },
    "name": "gesture"
  }
}

Input Schema

NameRequiredDescriptionDefault
strokesYesOne polyline per finger: [[[x,y],[x,y],...], ...]
duration_msNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

With no annotations, the description carries the full behavioral burden. It usefully discloses the key trait that all fingers move in lockstep across the given duration, but says nothing about coordinate space (pixels vs normalized), minimum points per stroke, how partial or out-of-bounds coordinates are handled, or what happens if the gesture is interrupted.

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?

Two short sentences, front-loaded with the purpose and immediately followed by the defining constraint and examples. Nothing is wasted and nothing is buried.

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?

An output schema exists, so return values need no explanation, and the description is adequate for a 2-parameter tool. However, for a relatively complex low-level input tool, the missing coordinate space and stroke validity rules leave real gaps that an agent would need to guess.

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 50% — strokes is documented in the schema but duration_ms is not. The description compensates by explaining that the motion occurs over duration_ms and that all fingers advance together, which clarifies the coupling between the two parameters beyond the schema. It still omits the duration units and any bounds.

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 capability — an arbitrary multi-finger gesture over a duration — and gives concrete examples (rotate, three-finger swipe, curves) that distinguish it from single-finger swipe and two-finger pinch siblings. It is clear what the tool does, though it never explicitly says it is not the same as those siblings.

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: the word 'arbitrary' plus the multi-finger examples suggest this is the fallback when swipe/pinch/tap cannot express the motion. There is no explicit 'use this instead of X when Y' statement and no prerequisites (unlocked device, active app) stated.

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