Skip to main content
Glama
UI Audit MCP
by wa008

swipe

Perform a screen drag using ratio-based start and end coordinates, capture a screenshot, and register a tracked UI audit step for evaluation.

Instructions

Swipe on screen (ratio 0-1). Automatically captures a screenshot and registers a tracked step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.

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": {
      "startX": "<startX>",
      "startY": "<startY>",
      "endX": "<endX>",
      "endY": "<endY>",
      "caseName": "<caseName>",
      "stepIndex": "<stepIndex>",
      "description": "<description>",
      "expectedOutcome": "<expectedOutcome>"
    },
    "name": "swipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
endXYesEnd horizontal ratio (0-1)
endYYesEnd vertical ratio (0-1)
startXYesStart horizontal ratio (0-1)
startYYesStart vertical ratio (0-1)
caseNameYesName of the test case
stepIndexYesCurrent step index (e.g. 1, 2)
descriptionYesDescription of the action being performed
expectedOutcomeYesWhat should happen after this swipe (e.g. 'List should scroll down to show more items')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.3

TDQS

A3.8/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 behavioral burden and does disclose two non-obvious side effects: an automatic screenshot capture and registration of a tracked step. It also mandates a follow-up action (evaluate). It stops short of describing return payload, permissions, or failure behavior.

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 short sentences, front-loaded with the core action and coordinate convention, then the side effects, then the required follow-up. No redundant or filler wording.

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?

All eight required parameters are documented in the schema, and there is no output schema, so the description only needs behavioral context, which it supplies via the screenshot and step-registration notes. Coverage of what the capture returns and how the tracked step is recorded is still absent, keeping it below perfect.

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%, with startX/startY/endX/endY, caseName, stepIndex, description, and expectedOutcome all documented in the schema. The description only restates the 0-1 ratio convention already present in the schema, adding no new meaning. 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 names a concrete action (swipe on screen) and the coordinate convention (ratio 0-1), so the agent knows exactly what operation is performed. It does not explicitly contrast with the sibling 'tap' gesture, so the differentiation is left implicit.

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 a clear downstream rule — evaluate the screenshot before the next action — which implies the sequencing of a testing workflow. However, it never states when a swipe is preferred over siblings like tap or input_text, nor any preconditions for use.

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