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.

Reject SmartUI Screenshots

smartui_reject_screenshot
DestructiveIdempotent

Reject 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. A build with a rejected screenshot gets verdict failed.

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_reject_screenshot"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: pre-write validation of every id against the build, post-write status read-back, and updated[]/failed[] as the real record of change. It also discloses the consequences an agent most needs — no undo, later approve/reject overwrites, and the build verdict flipping to failed — none of which appear in destructiveHint or idempotentHint.

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?

Five short sentences, zero filler: purpose and selector come first, then validation/return behavior, then the irreversible side effects. Each sentence carries information an agent needs before calling.

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 multi-selector mutation with nested all_matching and no output schema, this is complete: it says how to target, what is validated, what updated[]/failed[] mean, and what happens to the build verdict. Nothing needed to call it correctly 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 baseline is 3; the description adds the mutually exclusive selection semantics across comparison_ids, ss_ids, and all_matching that the flat schema does not express. It stops short of explaining the all_matching status enum values (e.g. that changes_found and under_screening match pending), but the schema covers that.

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 ("Reject screenshots in a SmartUI build") and immediately names the three target selectors, which separates it cleanly from smartui_approve_screenshot and the read-only siblings like smartui_get_comparison.

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?

Explains the selector contract ("Pass comparison_ids, ss_ids or all_matching") so the agent knows how to scope the call, and schema text further notes that rows with a null comparison_id need ss_ids. It never explicitly contrasts with smartui_approve_screenshot, but the reject/approve split is self-evident from the verb.

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