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.

Upload SmartUI Screenshots

smartui_upload_screenshots
Destructive

Upload PNG or JPEG screenshots to a SmartUI project as a new build, from source_urls (public http or https URLs, fetched by the server, at most 20 images of 10 MB each) or, only when the server runs locally over stdio, from file_paths. Each call creates a new build, and its screenshots count toward the account's SmartUI screenshot usage. mark_baseline=true makes the build the project baseline, replacing the current one. Returns build_id and the stored screenshot names. Uploaded screenshots get no comparison_id; review them by ss_id.

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

Input Schema

NameRequiredDescriptionDefault
build_nameNoName for the new build (optional)
file_pathsNoAbsolute local image paths (.png, .jpg, .jpeg). Only usable when the MCP server runs locally over stdio; the hosted server cannot read your files, so use source_urls there.
project_idYesSmartUI project id, from smartui_list_projects; the project token is resolved by the server
source_urlsNoPublic http or https image URLs, fetched by the server (max 20, 10 MB each). Private and internal addresses are refused.
mark_baselineNoMake this build the project baseline, replacing the current one
screenshot_nameNoName for the screenshot instead of the file or URL name, with or without an extension; only valid when uploading exactly one image. The upload API requires an image extension, so a name without one is sent and stored with .png or .jpg added ("home" becomes "home.png"). It binds to a baseline screenshot of the stored name, so it cannot bind to SDK or CLI baselines, whose names have no extension; the result warns when the stored name differs from the one given.

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?

Adds substantial context beyond the annotations: usage/quota impact ('count toward the account's SmartUI screenshot usage'), the replacement semantics of mark_baseline, the return values (build_id and stored screenshot names), and the important caveat that uploaded screenshots carry no comparison_id. This complements rather than repeats the destructive/openWorld hints.

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?

Front-loaded with the core action and the fork between URL and local-file uploads, then the side effects and return values. Slightly dense with repetition of limits already stated in the schema (max 20, 10 MB), but no sentence is wasted.

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 non-idempotent, destructive, quota-consuming upload tool with no output schema, the description covers side effects, constraints, return values, and the post-upload review path. An agent has everything needed to call it correctly and predict the consequences.

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 still adds cross-parameter meaning: the source_urls/file_paths mutual context (server deployment mode), the 20-image/10 MB ceiling, and the baseline-binding behavior of screenshot_name. Much of this is duplicated from the schema descriptions, keeping it out of 5 territory.

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?

Opens with a specific verb+resource+destination: 'Upload PNG or JPEG screenshots to a SmartUI project as a new build.' The two input modes (source_urls vs file_paths) are named immediately, which separates it cleanly from read-side siblings like smartui_get_build or smartui_list_builds.

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?

Gives a concrete when-to-use rule for the two upload paths: source_urls for the hosted server, file_paths only when the server runs locally over stdio. It also states that each call creates a NEW build (no append semantics) and points to ss_id for follow-up review. It does not name the specific sibling tool to use for that review, which keeps it just short of a 5.

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