Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Create case review

qase_review_create

Open a test case review to propose edits to an existing Qase case or draft a new one, sending only changed fields; use bulk create for multiple cases.

Instructions

Open a test case review — the pull-request flow for cases. Pass case_id to propose changes to an existing case (send only the fields that change), or omit it to propose a new one. Several at once? Use qase_review_bulk_create. The API has no endpoints for approving, merging or declining — those are UI-only; read status with qase_review_list. Cost: one API call, about 0.5s.

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>"
    },
    "name": "qase_review_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesProject code, e.g. DEMO
tagsNoTag names, e.g. ["smoke", "billing"]
typeNoType label or numeric ID
layerNoLayer label or numeric ID
stepsNoOrdered test steps; omit for a case without steps
titleNoTest case title
statusNoStatus label or numeric ID
case_idNoTest case to propose changes to. With it, an "edit" review is created and only the fields being changed need to be sent. Without it, a "create" review is opened for a brand-new case draft and `title` is required.
behaviorNoBehavior label or numeric ID
is_flakyNoIs flaky: 0=No, 1=Yes; a boolean works too.
priorityNoPriority label or numeric ID (0=not set, 1=high, 2=medium, 3=low)
severityNoSeverity label or numeric ID
suite_idNoID of the suite that holds the case
reviewersNoReviewers: AUTHOR UUIDs (see qase_get { entity: "author" }) or emails, which resolve to them. Not user IDs. The token owner authors the review and cannot review their own review. Omit to assign them later in the UI.
automationNoAutomation: 0=Manual, 1=To be automated, 2=Automated (label or ID)
parametersNoTest case parameters: {title, values}, a group {items: [...]}, or {shared_id}. Replaces the whole list: send every parameter to keep, [] to clear, omit to leave as is.
steps_typeNoStep style: "classic" action/expected, or "gherkin" scenario text
attachmentsNoHashes from qase_attachment_upload
descriptionNoFree-form description of what the case covers
custom_fieldNoCustom fields by ID, e.g. { "12": "value" }
milestone_idNoID of the milestone the case belongs to
preconditionsNoState the system must be in before the steps run
postconditionsNoState to restore or verify after the steps run

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.2.0
    • addedInput schema / $defs / parameter
      Added value: +{
      +  "properties": {
      +    "title": {
      +      "description": "Parameter name, e.g. \"browser\"",
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "values": {
      +      "description": "Its values, e.g. [\"chrome\", \"firefox\"]",
      +      "items": {
      +        "type": "string"
      +      },
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "values"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / parameters
      Added value: +{
      +  "description": "Test case parameters: {title, values}, a group {items: [...]}, or {shared_id}. Replaces the whole list: send every parameter to keep, [] to clear, omit to leave as is.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/parameter"
      +      },
      +      {
      +        "properties": {
      +          "items": {
      +            "description": "Parameters whose values go together; the API needs at least two",
      +            "items": {
      +              "$ref": "#/$defs/parameter"
      +            },
      +            "minItems": 2,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "items"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "shared_id": {
      +            "description": "ID of a shared parameter (qase_api GET /v1/shared_parameter)",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "shared_id"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
  2. Addedv3.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare a non-read-only, non-destructive, closed-world write; the description adds that this creates a proposal rather than a direct case mutation, that only changed fields need to be sent, that no approval path exists in the API, and the rough cost (one call, ~0.5s). The remaining gap is failure behavior — nothing about what happens on conflicting concurrent reviews — which keeps it below 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action, then the mode switch, then the bulk alternative, then the constraints and cost. The 'Several at once?' question form is compact and every sentence carries distinct information.

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?

For a 23-parameter nested-object tool with no output schema, the description covers invocation, mode selection, alternatives and follow-up retrieval. The one omission is the return value — an agent isn't told whether a review ID comes back to pass to `qase_review_list`, though with no output schema that is a modest gap.

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, but the description adds real semantics the schema can't: the conditional contract that `case_id` flips the review type and makes `title` required, and the partial-update instruction to send only changing fields. It does not touch the other 22 parameters, which the schema already documents well.

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?

States a specific verb and resource ('Open a test case review') and immediately disambiguates the two modes of operation via `case_id`. The 'pull-request flow for cases' framing tells an agent exactly what class of object is being produced, which no sibling name alone conveys.

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: pass `case_id` for an edit proposal, omit it for a new case draft, and use `qase_review_bulk_create` when creating several. It also states a hard exclusion — approving, merging and declining have no API endpoints — and names `qase_review_list` as the way to read status, which prevents a whole class of doomed calls.

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