Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Create or update custom field

qase_custom_field_upsert

Create a Qase custom field or update an existing one by ID, setting title, type, entity, options, and project scope while keeping create-only attributes fixed.

Instructions

Create or update a custom field. On create, entity (case, run, defect) and type are required and fixed forever — the update endpoint cannot change them. Fields are workspace-wide; scope with projects_codes or is_enabled_for_all_projects. Read existing fields with qase_project_context or qase_get. Cost: one call to create, two to update, 0.5-0.9s.

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

Input Schema

NameRequiredDescriptionDefault
idNoCustom field ID — if provided, updates; if omitted, creates
typeNoField type. Required when creating; cannot be changed later
titleYesField title
valueNoOption titles — required for selectbox, radio and multiselect
entityNoWhat the field is attached to. Required when creating; cannot be changed later
is_visibleNoWhether the field is shown on the entity
is_requiredNoWhether a value must be given on create
placeholderNoHint shown in the empty field
default_valueNoValue a new entity gets when none is entered
is_filterableNoWhether the field can be used as a filter
projects_codesNoProjects the field applies to. Ignored when is_enabled_for_all_projects is true
is_enabled_for_all_projectsNoApply to every project in the workspace, instead of only those in projects_codes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only cover the read/write/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds the non-obvious immutability rule that `entity` and `type` are fixed forever after creation, plus workspace-wide scoping and latency. It does not mention permission requirements or what happens on a failed update, so it falls short of 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?

Three tight sentences, front-loaded with the action and its create/update split, then constraints, then read alternatives, then cost. No filler or restated title language.

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 12-parameter mutation tool with no output schema, the description covers the critical decision points: what is required and immutable, how project scoping resolves, and where to read existing state. Minor gaps remain around failure/permission behavior, but nothing essential for correct invocation is missing.

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 description coverage is 100%, so all 12 parameters are already documented, including the create-vs-update meaning of `id` and the `projects_codes`/`is_enabled_for_all_projects` interaction. The description restates the entity/type immutability and the project scoping, adding reinforcement but little new syntax or constraint detail. Baseline 3 is appropriate.

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 pair and resource ('Create or update a custom field') and immediately clarifies the create-vs-update discriminator. An agent can distinguish this from qase_custom_field_delete and from the read tools without opening a schema.

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 routes reads to 'qase_project_context or qase_get', which is exactly the alternative an agent needs before upserting. It also gives cost expectations (one call to create, two to update). It stops short of stating when not to use it (e.g., when the field already exists with an incompatible type), so it is not a full 5.

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