Skip to main content
Glama
qase-tms

Qase MCP Server

Official
by qase-tms

qase_case_upsert

Create or update a test case in Qase. If an ID is provided, the existing case is updated; otherwise a new case is created. Enum fields accept both labels and numeric IDs.

Instructions

Create or update a test case. If id is provided, updates the existing case; if omitted, creates a new one. Enum fields (priority, severity, type, etc.) accept both labels ("high", "blocker") and numeric IDs — the server normalizes automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCase ID — if provided, updates the case; if omitted, creates a new one
codeYesProject code (2-10 uppercase letters, numbers, or underscores)
tagsNo
typeNoType label or numeric ID
layerNoLayer label or numeric ID
stepsNo
titleYesTest case title
statusNoStatus label or numeric ID
behaviorNoBehavior label or numeric ID
is_flakyNo
priorityNoPriority label or numeric ID (0=not set, 1=high, 2=medium, 3=low)
severityNoSeverity label or numeric ID
suite_idNo
automationNoAutomation status (label, slug, or numeric ID: 0=Manual / is-not-automated, 1=To be automated, 2=Automated)
steps_typeNo
attachmentsNo
descriptionNo
custom_fieldNo
milestone_idNo
preconditionsNo
postconditionsNo
Behavior4/5

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

Annotations indicate readOnlyHint=false, which aligns with the description's mutation behavior. The description adds value by detailing enum field normalization (labels and numeric IDs accepted) and upsert logic, going beyond what annotations provide.

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 three sentences, each serving a distinct purpose: stating the core function, explaining the id behavior, and clarifying enum inputs. No superfluous information; front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 21 parameters, nested objects, no output schema, and no description of return values or side effects, the three-sentence description is insufficient. Complex aspects like steps structure and custom fields are unaddressed, leaving agents underinformed.

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 coverage is low (48%), and the description adds meaning for the id parameter (create vs. update) and enum fields (label/numeric ID acceptance). However, many parameters (e.g., steps, tags, custom_field) lack explanation. The description partially compensates but not fully.

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 'Create or update a test case' and clearly distinguishes between create/update based on the id parameter. It differentiates from sibling tools like qase_defect_upsert or qase_run_upsert by specifying the resource (test case).

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs. alternatives such as qase_defect_upsert or qql_search. The description only explains the id-based behavior but does not provide context for choosing this tool over others.

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

Install Server

Other Tools

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