Skip to main content
Glama

ag_diagnose

Lists visible input boxes in the Antigravity app to calibrate AGY_INPUT_SELECTOR, so the bridge can target the correct task input field.

Instructions

List input boxes the bridge can see in the app (to calibrate AGY_INPUT_SELECTOR).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden; 'the bridge can see' does convey that this is a non-mutating observation that depends on a live bridge/app connection. It omits what happens when the app is not connected and whether the listed boxes come back as usable selectors, which is exactly the behavior an agent calibrating a selector would need.

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?

A single efficient sentence with the action front-loaded and no filler. Minor deduction because 'the bridge' is unexplained jargon that a first-time agent must infer.

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?

With no output schema and no annotations, the description must stand in for both. It names the returned entity ('input boxes') but not the shape of each entry or how the values relate to AGY_INPUT_SELECTOR, leaving a real gap for a calibration tool with zero other documentation.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; no parameter meaning is missing because no parameters exist.

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 ('List') and a specific resource ('input boxes the bridge can see in the app'), which distinguishes it from the neighboring inspection tools like ag_buttons and ag_read_screen. It stops short of naming those siblings explicitly, so the differentiation is inferred from the resource noun rather than stated.

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 parenthetical '(to calibrate AGY_INPUT_SELECTOR)' gives a concrete usage context, which is more than most one-liners. It does not say when not to use it or point to an alternative inspection tool when the agent is looking for something other than input boxes, so usage is implied rather than guided.

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