Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

merge_custom_field_values

Reassign all test cases from a source custom field value to a target value and delete the source, consolidating duplicate or similar values.

Instructions

Merge two custom field values: reassign all test cases from the source value to the target value, then delete the source value. Useful for consolidating duplicate or similar values.

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": {
      "customFieldId": "<customFieldId>",
      "sourceValueId": "<sourceValueId>",
      "targetValueId": "<targetValueId>"
    },
    "name": "merge_custom_field_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNo
projectNameNoProject name (alternative to projectId).
customFieldIdYesThe custom field ID (e.g. -2 for Feature).
sourceValueIdYesThe value to merge FROM (will be deleted).
targetValueIdYesThe value to merge INTO (will be kept).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses the critical destructive behavior: all test cases are reassigned and the source value is permanently deleted. It doesn't cover permissions or auth needs, whether the merge is reversible, what happens if source equals target, or whether the target must already exist.

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?

Two tight sentences, front-loaded with the operation and its effect, then a use case. Every clause earns its place with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter destructive tool with no annotations or output schema, the description covers the essential effect and outcome. The remaining gap is that it says nothing about irreversibility, the result shape, or failure conditions, which an agent would want before calling a delete-bearing operation.

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 80%, so the schema already explains sourceValueId (merge FROM, deleted) and targetValueId (merge INTO, kept). The description adds only the consequence that affects all test cases, not new per-parameter meaning; projectId and projectName go unmentioned in both places only marginally.

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 gives a specific verb and resource (merge two custom field values) and spells out the mechanics: test cases are reassigned from source to target, then the source is deleted. That clearly separates it from sibling operations such as delete_custom_field_value and rename_custom_field_value, which do not move test cases.

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?

"Useful for consolidating duplicate or similar values" gives a concrete when-to-use scenario. It doesn't state when not to use it, or name alternatives such as renaming or deleting a value outright, but the mechanism (move, then delete) implicitly shows why merging is different.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.