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 Branch Baselines

smartui_merge_branch_baseline
Destructive

Merge the latest approved build of one branch into the latest approved build of another branch in the same SmartUI project, creating a build named merged-branch/-- on the target branch. 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_branch_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSource branch to merge from. Its latest approved build is used.
targetYesTarget branch to merge into. Its latest approved build is used.
project_idYesSmartUI project id, from smartui_list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well past the annotations (destructiveHint=true, idempotentHint=false) by disclosing exactly what is destroyed: the current project baseline is replaced, and there is no undo or delete tool. It also explains conflict resolution (source wins on duplicate names), the ~20 second wait, the returned merge_status values and build id, and that error/zero-screenshot outcomes surface as tool errors — all behavior an agent needs before calling.

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?

Well front-loaded: action first, then side effects and irreversibility, then timing and return behavior. Dense multi-clause sentences carry real information rather than filler, though the second sentence is long enough that it could be split for readability.

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 covers the return contract itself (merge_status with its three values plus build id, and the error conditions). For a destructive, non-idempotent merge tool with full schema coverage, nothing an agent needs in order to call it correctly or anticipate consequences is missing.

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% and the schema already explains source, target, and project_id, including that the latest approved build of each branch is used and where project ids come from. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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?

States a specific verb (merge) and precisely scoped resources: the latest approved build of a source branch into the latest approved build of a target branch in the same SmartUI project. It also names the resulting build (`merged-branch/<source>-<target>-<id>`). It does not explicitly contrast itself with the sibling `smartui_merge_build_baseline`, leaving the branch-vs-build distinction implicit in the wording.

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 describing what gets merged and by the strong warning that no tool can undo or delete the resulting build, which signals caution before invoking. However, there is no explicit when-to-use guidance and no named alternative (e.g. the build-level merge sibling) to route the agent between them.

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