Skip to main content
Glama
UI Audit MCP
by wa008

input_text

Types text into the focused field, captures a screenshot, and registers a tracked step for UI audit evaluation.

Instructions

Type text into the currently focused field. Tap a text field first to focus it, then call this tool. 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": {
      "text": "<text>",
      "caseName": "<caseName>",
      "stepIndex": "<stepIndex>",
      "description": "<description>",
      "expectedOutcome": "<expectedOutcome>"
    },
    "name": "input_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to type into the currently focused field
caseNameYesName of the test case
stepIndexYesCurrent step index (e.g. 1, 2)
descriptionYesDescription of the action being performed
expectedOutcomeYesWhat should happen after typing (e.g. 'Search results should appear')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.3

TDQS

A4.2/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 key side effects: it automatically captures a screenshot and registers a tracked step, and it prescribes a post-call evaluation. It omits whether typing appends to or replaces existing field content, and what happens when no field is focused.

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 with zero filler: action, prerequisite, then side effects and follow-up. The prerequisite is front-loaded before the agent could misorder the calls.

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 mutation tool with no annotations and no output schema, the description covers the side effects (screenshot, tracked step) and the required follow-up evaluation, which is what an agent most needs. The remaining gap is edge-case behavior, such as typing with no focused field or whether text replaces existing content.

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 five parameters are already documented in the schema. The description adds no syntax or format detail for the text payload and says nothing about the bookkeeping parameters (caseName, stepIndex, description, expectedOutcome), so it does not exceed the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and target ("Type text into the currently focused field") and immediately names the precondition that distinguishes it from the tap sibling. An agent can tell this apart from tap/evaluate without opening the schema.

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?

Gives explicit sequencing guidance: tap a text field first to focus it, then call this tool, and afterward evaluate the screenshot before the next action. It does not state exclusions or failure cases (e.g. what happens if no field is focused), but the when-to-use context is clear.

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