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.

Approve SmartUI Screenshots

smartui_approve_screenshot
DestructiveIdempotent

Approve screenshots in a SmartUI build. Pass comparison_ids, ss_ids or all_matching. Every id is checked against the build before the write, and statuses are read back afterwards, so updated[] and failed[] report what actually changed. There is no undo; a later approve or reject overwrites the status. The result also reads back the project's baseline state: in projects with a pinned baseline build, approving does not move the pin; in projects that resolve the baseline per branch (CLI, Storybook, Omni), a fully approved build becomes the baseline for builds created on that branch afterwards.

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>",
      "build_id": "<build_id>"
    },
    "name": "smartui_approve_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
ss_idsNoScreenshot ids (ss_id) to approve, from smartui_list_comparisons
build_idYesBuild id the screenshots belong to
project_idYesSmartUI project id, from smartui_list_projects
all_matchingNoApprove every screenshot in the build with this status
comparison_idsNoComparison ids to approve, from smartui_list_comparisons (rows with comparison_id null need ss_ids)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantially more: pre-write validation of every id against the build, post-write read-back so updated[] and failed[] reflect actual changes, irreversibility, and overwrite semantics on re-approve. It also explains a non-obvious side effect — whether approving moves the baseline pin or promotes a fully approved build to a branch baseline — which an agent could not infer from annotations alone.

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?

Content is front-loaded: the action and selection modes come first, then behavioral caveats, then the baseline-state nuance. It is somewhat long, and the baseline paragraph is dense, but each sentence carries information an agent needs rather than restating the schema.

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 destructive, nested-object mutation with no output schema, the description covers selection, validation, return signaling (updated[]/failed[]), irreversibility, and baseline side effects. Nothing material is left unstated for an agent to invoke it correctly and interpret the outcome.

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 coverage is 100%, so each parameter including the all_matching.status enum is already documented, and the baseline score is 3. The description adds modest meaning by presenting the three id sources as alternative selection modes and noting that every id is validated against the build before writing, but it does not clarify precedence if multiple selectors are supplied or how conflicting selectors are resolved.

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 first sentence gives a specific verb and resource ("Approve screenshots in a SmartUI build") and immediately enumerates the three selection modes, so an agent knows exactly what the call does. It implicitly distinguishes itself from the reject sibling by noting "a later approve or reject overwrites the status," but it never names smartui_reject_screenshot as the counterpart, keeping it short of a full 5.

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 description clearly states how to invoke it (pass comparison_ids, ss_ids, or all_matching) and warns that there is no undo, which shapes when an agent should be cautious. It lacks an explicit when-not-to-use statement or a direct pointer to smartui_reject_screenshot for the opposite action, so the routing guidance is implied rather than spelled out.

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