Skip to main content
Glama

MCP Server By TestMu AI

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TestMu AI (formerly LambdaTest). If you published it, claim ownership there.

Analyze SmartUI Comparison

smartui_analyze_comparison
Read-onlyIdempotent

Summarize one SmartUI comparison: mismatch %, a mismatch_band from fixed thresholds set by this tool (0 identical, under 0.1 negligible, under 1 minor, under 5 moderate, otherwise major; not a SmartUI verdict), status and the baseline, current and compared image URLs. With include_assets=inline it also attaches the three images, skipping any over 1.5 MB or past 2.25 MB in total (listed in assets_skipped). It runs no image analysis of its own. Needs a comparison_id. Read-only.

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": {
      "comparison_id": "<comparison_id>"
    },
    "name": "smartui_analyze_comparison"
  }
}

Input Schema

NameRequiredDescriptionDefault
comparison_idYesComparison id, from smartui_list_comparisons
include_assetsNourls returns image URLs only; inline also attaches the images as image blocksurls

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, yet the description still contributes real behavioral detail: the fixed threshold table behind mismatch_band, the warning that the band is "not a SmartUI verdict," the 1.5 MB per-image and 2.25 MB total asset caps with names of the skipped-asset field. Those are exactly the traits an agent could not infer otherwise; the only omission is how partial asset attachment should be surfaced downstream.

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 front-loaded paragraph with no filler: what it returns, the threshold caveat, the asset-size limits, the negative scope, and the required input. The dense nested parenthetical for the threshold bands is the one passage that could be tightened, but nothing is redundant.

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?

An output schema exists, so the description is not obligated to explain return values, yet it usefully pre-frames the non-obvious fields (mismatch_band thresholds, assets_skipped). With only two parameters and a required id documented in the schema, the remaining gap is relational context - when to reach for this versus the get_comparison sibling.

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?

Schema coverage is 100% so the baseline is 3, and the description earns above that by explaining the consequence of include_assets=inline (images attached, oversized ones skipped and reported in assets_skipped) and by attributing the threshold semantics behind the returned mismatch_band. It adds operational meaning beyond the one-line enum descriptions in the schema.

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?

Specific verb and resource ("Summarize one SmartUI comparison") followed by an explicit enumeration of what the summary contains: mismatch %, mismatch_band, status, and the three image URLs. It also scopes behavior negatively ("runs no image analysis of its own"), which hints at how it differs from a raw-fetch sibling, but it never names smartui_get_comparison, so the differentiation is inferred 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 description states the prerequisite ("Needs a comparison_id") and explains the include_assets=inline branch, but gives no explicit when-to-use versus smartui_get_comparison or the approve/reject tools. The 'Read-only' note plus the band caveat imply this is the safe reporting path, leaving selection guidance implicit rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources