Skip to main content
Glama
UditMahaldar

HP ALM MCP Server

by UditMahaldar

alm_add_test_to_set

Add a test case from Test Plan to a Test Lab test set, specifying its initial run status.

Instructions

Pull (add) a test case from Test Plan into a Test Lab test set.

This is the 'Move TC from Test Plan to Test Lab' operation in ALM.

Args: test_set_id: ID of the target test set. test_id: ID of the test case in Test Plan. status: Initial run status — 'No Run', 'Passed', 'Failed', 'Blocked'.

Returns: {"success": true/false, "test_instance_id": "", "test_set_id", "test_id"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_set_idYes
test_idYes
statusNoNo Run
Behavior3/5

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

With no annotations, the description must fully disclose behavior. It describes the action and return values but lacks details on side effects (e.g., whether it moves or copies the test case), permissions, error conditions, or state changes. Some traits are inferred but not explicit.

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?

The description is concise and front-loaded, starting with the core action. It then provides clear Args and Returns sections. Every sentence adds value with no redundancy.

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?

Given the tool has 3 parameters, no output schema, and no annotations, the description covers the purpose, parameters, and return values adequately. However, it lacks some behavioral context (e.g., error handling, confirmation of action) that would enhance completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description fully compensates. It explains each parameter: test_set_id (target test set), test_id (test case in Test Plan), and status (initial run status with options 'No Run', 'Passed', 'Failed', 'Blocked' and default 'No Run'). It also describes the return format.

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 clearly states the action ('Pull (add) a test case from Test Plan into a Test Lab test set') and explicitly mentions it is the 'Move TC from Test Plan to Test Lab' operation. The verb 'add' and resource 'test case to test set' are specific and distinguish from siblings like alm_create_test_set or alm_execute_test.

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 implies usage (to add a test case to a test set) but does not provide explicit guidance on when to use this tool versus alternatives. There is no mention of prerequisites, nor when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UditMahaldar/opentext-alm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server