Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Update case review

qase_review_update
Idempotent

Update an open review by ID, changing proposed case fields and/or reviewers; altering the proposal resets approvals, while reviewer-only changes keep them.

Instructions

Update an open review: the proposed case fields, the reviewers, or both, by review ID. IMPORTANT: changing the proposal RESETS every approval already given; updating only reviewers keeps them. 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>",
      "id": "<id>"
    },
    "name": "qase_review_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesReview ID
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
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
reviewersNoReplaces the current reviewer list; an empty array removes everyone. Omit to leave it unchanged. Author UUIDs or emails. Changing ONLY reviewers keeps existing approvals.
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.9/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=false, idempotent=true; the description adds the crucial non-obvious trait that changing the proposal resets every existing approval, while a reviewers-only update preserves them, plus the cost (~0.5s, one call). The reset warning sits in mild tension with destructiveHint=false, but because the description supplies the precise caveat an agent needs, this is disclosure rather than contradiction.

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 tight sentences plus a cost line: purpose first, then the destructive side effect in caps, then the limitation and the alternative. Every sentence carries information an agent needs before calling.

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?

For a 23-parameter mutation with nested step/parameter objects and no output schema, the description covers purpose, the biggest footgun (approval reset), the unsupported operations, the read alternative, and cost. Nothing essential for correct invocation is missing, and return values are correctly delegated to qase_review_list.

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 a cross-parameter distinction the per-field notes do not make prominent: which parameter groups count as "the proposal" (and therefore trigger approval reset) versus the reviewers-only path. It does not, however, explain the many case-field parameters individually, which is reasonable given the schema already does.

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 ("Update") plus a specific resource ("an open review") and an enumerated scope: the proposed case fields, the reviewers, or both, keyed by review ID. An agent can immediately tell this apart from qase_review_list (read) and qase_review_create/delete.

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 states when NOT to use it (approving, merging and declining have no API endpoints — UI-only) and names the alternative for the read side ("read status with qase_review_list"). It also guides the choice between the two update modes (proposal fields vs reviewers only) and their differing consequence.

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