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.

Merge SmartUI Builds

smartui_merge_build_baseline
Destructive

Merge one SmartUI build into another, by build name, in the same project, creating a build named merged-build/--. The new build holds the screenshots of both builds (the source wins when a name exists in both) and is marked as the project baseline, replacing the current one; there is no tool to undo or delete it. The tool waits up to about 20 seconds for the merged build and returns merge_status (completed, running or initiated) with its build id; a merged build that ends in error or with zero screenshots is returned as a tool error.

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>",
      "source": "<source>",
      "target": "<target>"
    },
    "name": "smartui_merge_build_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSource build name to merge from. Any active build with this exact name.
targetYesTarget build name to merge into. Must be an approved, non-partial build with this exact name.
project_idYesSmartUI project id, from smartui_list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses conflict resolution ('the source wins when a name exists in both'), that the current baseline is replaced, that no undo/delete tool exists, the ~20 second wait, and the returned merge_status values with the build id. It also defines the failure mode (error or zero screenshots becomes a tool error), which is precisely the behavioral context an agent needs before invoking a destructive merge.

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?

It is front-loaded with the core action and resulting build name, then layers on the baseline-replacement warning and the return contract. Sentences are long but each carries distinct information; only the naming template detail is mildly verbose.

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?

With no output schema, the description supplies the return contract (merge_status values plus build id) and the error condition, along with the destructive side effect and its irreversibility. For a 3-parameter destructive merge tool, nothing an agent needs to call it safely 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 adds real meaning: builds are matched by exact name within the same project, and source-vs-target is not symmetric because 'the source wins' on duplicate names. That asymmetry is the key semantic an agent could not infer from the schema alone.

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?

The description states a specific verb and resource ('Merge one SmartUI build into another'), plus the scoping constraint ('by build name, in the same project') and the resulting artifact name ('merged-build/<source>-<target>-<id>'). That level of specificity lets an agent distinguish it from a branch-oriented merge sibling without opening any schema.

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?

Usage context is implied by the effect (the merged build becomes the project baseline) and by the warning that 'there is no tool to undo or delete it'. However, it never explicitly says when to choose this over smartui_merge_branch_baseline or other baseline-setting paths, nor does it state prerequisites such as permissions in the description itself.

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