Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Create or update test plan

qase_plan_upsert

Create or update a named, reusable test plan from case IDs—such as smoke or regression—to group cases for test runs.

Instructions

Create or update a test plan — a named, reusable set of case IDs such as a smoke or regression pack. With id it updates, without it creates. qase_regression_run turns a plan into a run in one call. Cost: one API call, about 0.5s, growing with the number of cases.

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

Input Schema

NameRequiredDescriptionDefault
idNoPlan ID — if provided, updates; if omitted, creates
codeYesProject code, e.g. DEMO
casesNoCase IDs to include
titleYesTest plan title
descriptionNoFree-form description of the plan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false and openWorld=false, so safety is largely covered. The description adds genuinely useful operational context — one API call, ~0.5s, cost scaling with the number of cases — which is the kind of information annotations cannot express. It does not disclose whether an update replaces or merges the existing case set, which is the main behavioral ambiguity.

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, each earning its place: definition, mode switch, sibling handoff, plus a compact cost note. The create/update rule is front-loaded right after the purpose statement.

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 5-parameter upsert with full schema coverage and annotations, the description covers purpose, mode selection, downstream tool and cost. The remaining gaps are that no output schema exists and the description never says what the tool returns (e.g. the plan object or its ID), and the replace-vs-merge semantics of `cases` on update are unstated.

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 description coverage is 100%, so the schema already documents every parameter and sets a baseline of 3. The description still adds semantic meaning to `cases` (a reusable pack of case IDs) and to `id` as the create/update switch, reinforcing rather than merely repeating the schema.

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 the exact verb pair (create or update) and the resource (test plan), and defines what a plan is — 'a named, reusable set of case IDs such as a smoke or regression pack' — which no schema field conveys. A single sentence separates the create path from the update path via the presence of `id`.

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

Usage Guidelines4/5

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

Explicitly tells the agent how to choose create vs update ('With `id` it updates, without it creates') and hands off to qase_regression_run for the natural next step. It stops short of stating exclusions or prerequisites (e.g. that `code` must reference an existing project), so it is clear context without full when-not guidance.

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