Skip to main content
Glama
Amodh2022

flutter-bridge-mcp

by Amodh2022

ui_diff

Compare the current screen against a saved checkpoint and get changed regions highlighted, so you can verify an edit produced only intended UI changes.

Instructions

Compare the screen now against a checkpoint and highlight what moved.

Returns a summary plus the current screen with changed regions outlined, so you can confirm an edit did what you meant and did not disturb anything else.

Args: label: which checkpoint to compare against. threshold: per-channel difference (0-255) that counts as a real change. Raise it to ignore animations and anti-aliasing. max_width: longest edge of the returned image. serial: device serial when several are attached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNobefore
serialNo
max_widthNo
thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full burden. It discloses outputs (summary + outlined image) and explains how threshold tuning ignores animations, but it does not explicitly state that the operation is non-destructive or what happens if the referenced checkpoint does not exist.

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?

The one-sentence purpose is front-loaded, followed by a compact output summary and clearly organized args. Every sentence earns its place with no redundancy.

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?

The description covers purpose, output, and all parameters. For a diff tool with no output schema or annotations, it is sufficient, though missing details like error handling for missing checkpoints or image format are not addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates: label ('which checkpoint'), threshold ('per-channel difference... raise to ignore animations'), max_width ('longest edge of returned image'), and serial ('device serial when several are attached').

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?

The description states a specific verb-resource pair ('Compare the screen... against a checkpoint') and clearly distinguishes itself from sibling tools like ui_checkpoint (checkpoint creation) and screenshot (plain capture).

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?

It frames the use case explicitly — 'confirm an edit did what you meant and did not disturb anything else' — which gives clear context. However, it does not name alternatives or state when not to use the tool relative to siblings.

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