Skip to main content
Glama
UI Audit MCP
by wa008

tap

Simulates a touch at normalized screen coordinates, captures a screenshot, and logs a tracked audit step so agents can evaluate UI outcomes.

Instructions

Tap at a position 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": {
      "x": "<x>",
      "y": "<y>",
      "caseName": "<caseName>",
      "stepIndex": "<stepIndex>",
      "description": "<description>",
      "expectedOutcome": "<expectedOutcome>"
    },
    "name": "tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesHorizontal position ratio (0 = left, 1 = right)
yYesVertical position ratio (0 = top, 1 = bottom)
caseNameYesName of the test case
stepIndexYesCurrent step index (e.g. 1, 2)
descriptionYesDescription of the action being performed
expectedOutcomeYesWhat should happen after this tap (e.g. 'Should navigate to login screen')

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 burden and does disclose two non-obvious side effects: an automatic screenshot capture and registration of a tracked step. It omits failure behavior and whether coordinates are relative to the full screen or the foreground window, which keeps it below a 5.

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 sentences, zero filler, with the core action front-loaded and the follow-up obligation placed after it. Nothing redundant beyond the ratio parenthetical, which is a useful inline reminder.

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 six-required-parameter mutation tool with no annotations and no output schema, the description adequately covers the action, its side effects, and the required post-call behavior. It stops short of explaining error handling or what the returned screenshot/step data looks like, which for a no-output-schema tool is a minor gap.

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 coverage is 100%, so all six parameters are already documented in the schema. The description only restates the ratio convention that the schema already explains for both x and y, adding no new meaning to caseName, stepIndex, description, or expectedOutcome. 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?

States a specific verb and resource ('Tap at a position on screen') and clarifies the coordinate convention as a 0-1 ratio. An agent can distinguish it from siblings like swipe or input_text by the action alone, though the description never names an alternative to contrast against.

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?

The second sentence gives sequencing guidance ('After this call, evaluate the screenshot ... before moving to the next action'), which is genuinely useful workflow context. However, there is no guidance on when to choose tap over swipe or input_text, and no stated preconditions such as an app needing to be launched first.

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