Skip to main content
Glama

MCP Server By TestMu AI

SmartUI Comparison Query

smartui_comparison_query
Read-only

List all comparisons in a SmartUI build (each row returns comparison_id AND ss_id), or get one comparison's detail (mismatch %, status, correctly-labelled baseline/current/compared asset URLs). This is how you obtain a comparison_id — you never need the dashboard. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (list only, 1-based)
limitNoPage size (list only, default 50, max 200)
actionYeslist comparisons in a build, or get one by comparison_id
statusNoFilter by status (list only), e.g. "changes_found", "approved"
build_idNoBuild id — required for action=list
project_idNoProject id — required for action=list
min_mismatchNoOnly comparisons with mismatch_percentage >= this (list only)
comparison_idNoComparison id — required for action=get

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description reinforces this with 'Read-only' and adds real value by enumerating return contents (comparison_id AND ss_id for list; mismatch %, status, labelled baseline/current/compared URLs for get). It does not discuss pagination behavior, which would have helped.

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?

Dense and front-loaded: the primary list/get capability comes first, followed by the key value proposition and a trailing safety note. The standalone 'Read-only.' repeats the annotation, a minor redundancy, but nothing else is wasted.

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?

With 8 parameters, no output schema, and only readOnly annotations, the description does the necessary work of summarizing what each action returns. It is nearly complete for agent selection; only pagination/filtering behavior and its relationship to smartui_comparison_analyze are left unstated.

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 description coverage is 100%, with each of the 8 parameters already documented in the schema including the list-only markers and the list/get enum. The description adds no parameter-level detail (formats, defaults, edge cases) beyond what the schema provides, so the 3 baseline 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?

The description names a specific resource (comparisons) with two clear modes (list in a build vs get one), plus the fields each returns. It is easy to distinguish from the other smartui_* siblings by name, but it never explicitly differentiates itself from smartui_comparison_analyze, so it stops short of a 5.

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?

It hints at intent with 'This is how you obtain a comparison_id — you never need the dashboard', which tells the agent why to call it. However, it gives no when-not guidance and does not route the agent between this tool and the nearby smartui_comparison_analyze or smartui_build_query alternatives.

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