Skip to main content
Glama
qase-tms

Qase MCP Server

Official
by qase-tms

qase_ci_report

Submit a finished CI pipeline as one Qase run: create the run, record all test results, and close it in a single call.

Instructions

Report a whole CI run in one call: creates the run, records every result, and completes it. This is the tool for a pipeline that has just finished — it replaces qase_run_upsert, then qase_result_record, then qase_run_complete, and leaves no half-open run behind if the agent stops early. Each result needs a numeric case_id plus a status, and may carry duration, comment, stacktrace and attachment hashes. Use qase_result_record instead when the run already exists and results arrive in stages; use qase_run_upsert when you need the run left open. A batch larger than 200 is split across requests for you, up to 2000 results in one report. Cost: one tool call covering three API operations, plus one extra request per 200 results. A run with two results measured about 0.7s, against roughly 1.5s for the same work as three separate calls, and it grows with the number of results rather than with the number of round trips.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesProject code (2-10 uppercase letters, numbers, or underscores)
titleYesRun title (e.g., "CI Build #1234")
resultsYesTest results to record, 1 to 2000 per call
completeNoComplete the run after recording results (default: true)
is_autotestNoMark as automated run (default: true)
environment_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesCreated run ID
run_statusYes
results_recordedYesNumber of results recorded

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv2.4.1
    • changedInput schema / properties / results / description
      Previous value: -"Test results to record"New value: +"Test results to record, 1 to 2000 per call"
    • addedInput schema / properties / results / maxItems
      Added value: +2000
  2. Changed1 schema field changedv2.2.1
    • addedInput schema / properties / results / items / properties / attachments / description
      Added value: +"Attachment hashes from qase_attachment_upload"
  3. Addedv2.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover read-only and destructive hints, but the description adds substantial extra behavior: it replaces three API calls, leaves no half-open run, splits batches over 200 across requests, caps at 2000 results, and gives cost/performance tradeoffs. This goes well beyond what annotations or schema alone tell the agent.

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 dense but every sentence earns its place: purpose, usage, alternatives, batching, cost, and performance. It is front-loaded with the core action and then layers decision-relevant details in a logical order.

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?

Given the tool's complexity and the existence of an output schema, the description fully covers what the tool does, when to use it, how it behaves at scale, and how it differs from siblings. Nothing needed for correct invocation or selection is missing.

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 83%, so the schema already documents most parameter details. The description reinforces that each result needs a numeric case_id plus status and may carry duration, comment, stacktrace, and attachment hashes, but this mostly mirrors the schema rather than adding new meaning.

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 states a specific verb and resource: report a whole CI run in one call by creating the run, recording results, and completing it. It explicitly distinguishes itself from qase_result_record and qase_run_upsert, making its purpose unambiguous.

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?

It explicitly says this is for a pipeline that has just finished, and names the exact alternatives: use qase_result_record when the run already exists and results arrive in stages, and qase_run_upsert when the run must be left open. This is model guidance for choosing among siblings.

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

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/qase-tms/qase-mcp-server'

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