Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Complete test run

qase_run_complete
Idempotent

Marks a Qase test run as complete so it reports as finished; later results still update its counts.

Instructions

Mark a test run complete so it reports as finished. It is a reporting state, not a lock — results recorded afterwards still land and change its counts. If all results are in hand at once, qase_ci_report does this as its final step. Cost: one API call, about 0.4s.

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": {
      "code": "<code>",
      "id": "<id>"
    },
    "name": "qase_run_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity ID
codeYesProject code, e.g. DEMO

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / code / description
      Previous value: -"Project code (2-10 uppercase letters, numbers, or underscores)"New value: +"Project code, e.g. DEMO"
    • changedInput schema / properties / id / description
      Previous value: -"Entity ID (positive integer)"New value: +"Entity ID"
  2. Addedv2.7.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive and closed-world, and the description adds genuinely new behavior: results recorded afterwards still land and change the run's counts. The latency/API-call cost is also useful planning context. It does not mention preconditions such as whether the run must be active first, which keeps it just below the top.

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?

Three short sentences, front-loaded with the action and its effect, then the semantic caveat, then the alternative and cost. No redundancy, and the cost sentence earns its place by enabling call budgeting.

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?

A two-parameter, non-destructive idempotent mutation with a complete schema and no output schema — nothing an agent needs is missing. Effect, caveat about post-completion results, alternative tool, and cost are all present.

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%, so both required parameters (project code and run id) are fully documented structurally. The description adds no syntax, format, or ID-resolution guidance beyond that, so the baseline of 3 applies.

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?

Specific verb and resource ("Mark a test run complete") plus the observable effect ("reports as finished"). It further disambiguates the nature of the operation ("reporting state, not a lock") and names the sibling that also performs it, so an agent can distinguish it from qase_run_delete and qase_ci_report without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: if all results are in hand at once, qase_ci_report already does this as its final step, implying this tool is for the case where results arrive separately. It also warns that completing is not a lock, which directly informs when calling it is safe.

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