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.

Get SmartUI Build CI Verdict

smartui_get_build_verdict
Read-onlyIdempotent

Get a pass or fail verdict for a SmartUI build, for use as a CI gate: verdict (passed, failed, pending_approval, running or error), per-status totals, every blocking id (comparison_id, or ss_id when the screenshot has no comparison), detail for the first 50 blocking screenshots, and warnings. failed means a rejected screenshot, or a build whose screenshots SmartUI approved by itself without comparing them to an existing baseline. Screenshots that the baseline the build was compared with has and this build lacks are listed in missing_screenshot_names; they fail the verdict only when fail_on_missing is true. 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": {
      "project_id": "<project_id>"
    },
    "name": "smartui_get_build_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
build_idNoBuild id, from smartui_list_builds (or pass build_name)
build_nameNoExact build name, an alternative to build_id; looked up among the newest 200 builds
project_idYesSmartUI project id, from smartui_list_projects
fail_on_missingNoFail the verdict when the build lacks screenshots its baseline has (ignored for builds SmartUI marks partial). Default false, since uploads of a few images are usually partial on purpose.

Output Schema

NameRequiredDescriptionDefault
nextNo
buildNo
errorNo
totalsNo
verdictNo
blockingNo
warningsNo
blocking_comparison_idsNo
blocking_detail_omittedNo
missing_screenshot_namesNo
baseline_build_id_comparedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real behavior: the verdict enum, the definition of 'failed' including SmartUI auto-approval, the blocking-id convention (comparison_id or ss_id), and a truncation limit of the first 50 blocking screenshots. These are precisely the semantics an agent cannot infer from structured fields.

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 that leads with purpose then consequences, with no filler sentences. It is dense and slightly run-on, and the recap of return contents partially duplicates the existing output schema, which costs a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a CI-gate read tool with four parameters and an output schema, the description covers the decision logic (pass/fail conditions, missing handling, truncation, warnings) that an agent needs to interpret or act on the result. Nothing material is missing.

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, but the description earns a bump by explaining the trade-off behind fail_on_missing (defaults false because small uploads are usually intentionally partial) and by tying missing_screenshot_names to that flag. build_id vs build_name is left to the schema.

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 resource ('Get a pass or fail verdict for a SmartUI build') plus the intended use ('for use as a CI gate'), which cleanly separates it from smartui_get_build (raw build details) and smartui_get_comparison (single comparison). The enumerated verdict values further pin down what is returned.

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?

The CI-gate framing gives a clear condition for choosing this tool, and it explains when a verdict fails, including the subtle auto-approved-without-baseline case and when missing screenshots count via fail_on_missing. It never explicitly names a sibling to use for raw details or per-comparison drill-down, so the alternative routing is implied 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