Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

bulk_set_test_case_custom_fields

Set custom field values on multiple test cases in one call, using replace mode to clear existing values first or add mode to append without removal.

Instructions

Set custom field values on multiple test cases at once. When mode is "replace" (default), existing values for the specified fields are removed before adding new ones, preventing unintended data accumulation. When mode is "add", values are added without removing existing ones. Payload format: [{ customField: { id }, values: [{ id|name }] }] or [{ id|name, customField: { 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": {
      "payload": "<payload>"
    },
    "name": "bulk_set_test_case_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo"replace" (default): removes existing values for the specified fields before adding. "add": appends without removing.
payloadYes
projectIdNo
testCaseIdNoSingle test case ID.
projectNameNoProject name (alternative to projectId).
testCaseIdsNoMultiple test case IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does disclose the critical behavioral trait: replace mode deletes existing values for the specified fields before writing. That is exactly the destructive-effect disclosure an agent needs. It does not cover authorization requirements, behavior for unknown custom fields, or error/partial-failure handling.

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?

The destructive-effect warning is front-loaded, followed by the contrasting mode, then the payload grammar in a single compact line. There is minor duplication of the mode semantics already present in the schema, but every sentence contributes information.

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

Completeness3/5

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

For a bulk mutation tool with no annotations and no output schema, the description covers the two highest-risk areas (destructive replace behavior and payload structure). It leaves a clear gap on which scoping parameters to use (single vs multiple test case IDs, projectId vs projectName) and on what the tool returns after a bulk 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 67%, and the description compensates well where it matters most: the payload is typed only as an array of untyped objects in the schema, and the description supplies the concrete shape and both accepted key orderings. The id/name versus id alternates are clarified, but the projectId/projectName and testCaseId/testCaseIds selection rules are left entirely unexplained.

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?

"Set custom field values on multiple test cases at once" gives a specific verb (set), resource (custom field values), and scope (multiple test cases), which implicitly separates it from the singular set_test_case_custom_fields sibling. It stops short of naming the alternative outright, so the differentiation requires a small inference.

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?

The description explains the effect of each mode and which is the default, and adds the rationale that replace "prevents unintended data accumulation," which is a genuine usage hint. However, it never says when to prefer bulk over the single-case sibling, nor when "add" is the right choice over "replace" beyond the mechanical description.

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