Skip to main content
Glama
qase-tms

Qase MCP Server

Official
by qase-tms

qase_result_record

Record up to 200 test results into an existing Qase run in one call. Attach status, duration, comments, stacktraces, and attachments to each result.

Instructions

Record up to 200 results into an existing run. A case says what should be tested; a result says what happened when it ran — status, duration, comment, stacktrace, attachments — so a result always needs a run to live in. Pass several results in one call rather than calling once per test: the tool takes a list and sends them together. 200 is the ceiling for one call, and a longer list is refused before anything is written — split it into consecutive calls rather than dropping the tail. If the run does not exist yet and this is a finished CI job, qase_ci_report is the single call that creates the run, records the results and completes it, and it splits a larger batch for you. Status is a label, one of "passed", "failed", "blocked", "skipped" or "invalid" — unlike the case enums, numeric IDs are not accepted here. Cost: one API call for the whole list, about 0.5s for a small batch, growing with payload rather than with the number of results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesProject code (2-10 uppercase letters, numbers, or underscores)
run_idYesRun ID to record results into
resultsYesResults to record, 1 to 200 per call

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: -"One or more results to record"New value: +"Results to record, 1 to 200 per call"
    • addedInput schema / properties / results / maxItems
      Added value: +200
  2. Changed2 schema fields changedv2.2.1
    • addedInput schema / properties / results / items / properties / attachments / description
      Added value: +"Attachment hashes from qase_attachment_upload"
    • addedInput schema / properties / results / items / properties / steps / items / properties / attachments / description
      Added value: +"Attachment hashes from qase_attachment_upload"
  3. Addedv2.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (write, non-idempotent, non-destructive), the description reveals important behavior: the 200-item ceiling is enforced before anything is written, the call is a single API request, and the status field accepts only labels, not numeric IDs. This gives the agent critical execution expectations.

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 description is efficient and front-loaded with the main purpose, then moves to batching and alternatives. It is somewhat long, but nearly every sentence adds useful guidance; the cost sentence is slightly extra but provides useful operational context.

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 lack of an output schema, the description covers the essential context: what results are, where they live, batch size limits, failure behavior for oversized lists, the alternative for creating a run, and status constraints. An agent has enough information to select and invoke it correctly without additional tool discovery.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema by clarifying that status must be a label rather than a numeric ID, and by explaining the relationships between run_id, results, and the run concept. It does not deeply elaborate on code or run_id, but the schema already covers those adequately.

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 names a specific action and resource: 'Record up to 200 results into an existing run.' It explains the core concept of a result versus a case, which clearly separates this tool from case-oriented tools like qase_case_upsert and from run creation via qase_ci_report.

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 gives an explicit batching rule ('Pass several results in one call rather than calling once per test') and explicitly names qase_ci_report as the alternative when the run does not exist yet and the job is finished CI. This is strong when-to-use versus when-not-to-use guidance.

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