Skip to main content
Glama

upload_cucumber_results

Publish Cucumber execution results from a local ZIP to Jira/Zephyr; scenarios match test cases via @TestCaseKey tags, and a new test cycle is created.

Instructions

Publish Cucumber execution results from a local ZIP archive (POST multipart/form-data /automation/execution/cucumber/{projectKey}). The archive must hold the output of Cucumber's built-in json formatter (one or more .json report files). Every scenario must carry a @TestCaseKey=PROJ-T1 tag naming the BDD test case it reports on — that tag is how the server matches a scenario to an existing test case. Always creates a NEW test cycle (test run) — it never appends to an existing one — and returns the API description of that cycle unchanged, or { uploaded: true } for an empty body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath of the results .zip archive on the machine running this MCP server (absolute path recommended)
projectKeyNoJira project key, e.g. "PROJ"; defaults to ZEPHYR_DEFAULT_PROJECT_KEY when omitted
autoCreateTestCasesNoCreate the test cases referenced by the results that do not exist in the project yet (server default: false). Omitted from the query string entirely when not passed. Verified live: this only affects executions that identify the case by testCase.name with NO key — an explicit testCase.key that does not exist fails with 400 "Test Case with key X not found." whether the flag is true or false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

A3.7/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 does well: it discloses that the tool ALWAYS creates a new test cycle and never appends, plus the exact return shape (API description of the cycle, or {uploaded: true} for an empty body). It does not mention auth/permission requirements, keeping it just short of a 5.

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?

Three dense sentences, front-loaded with the core purpose followed by format requirements and behavior/return semantics. Nearly every clause earns its place; only minor tightening is possible.

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?

With no annotations and no output schema, the description compensates well by covering input format constraints, matching rules, the new-cycle behavior, and return values. It is complete enough to invoke correctly, missing only explicit sibling routing.

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 description coverage is 100%, so the schema already documents all three parameters in detail (including the nuanced autoCreateTestCases caveat). The description adds the tag-to-test-case matching mechanism, but does not add syntax or format details beyond the schema, so 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+resource (publish Cucumber execution results from a local ZIP archive) and even names the endpoint, so the agent knows exactly what it does. It implicitly differentiates from the sibling upload_automation_results by pinning the Cucumber format, but never names that sibling explicitly.

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 lays out hard prerequisites (archive must contain Cucumber json-formatter output; every scenario needs a @TestCaseKey tag), which strongly implies when this tool is applicable. However, it never states when to choose it over upload_automation_results or create_test_run, leaving alternative selection to inference.

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

Deploy Server

Other Tools