Skip to main content
Glama

Update Issue

update_issue

Update specific fields of a MantisBT issue using partial PATCH, such as status, resolution, priority, and custom fields, with an optional note appended.

Instructions

Update one or more fields of an existing MantisBT issue using a partial PATCH.

The "fields" object accepts any combination of:

  • summary (string)

  • description (string)

  • steps_to_reproduce (string)

  • additional_information (string)

  • status: { name: "new"|"feedback"|"acknowledged"|"confirmed"|"assigned"|"resolved"|"closed" }

  • resolution: { id: 20 } (20 = fixed/resolved)

  • handler: { id: } or { name: "" }

  • priority: { name: "" }

  • severity: { name: "" }

  • reproducibility: { name: "" }

  • category: { name: "" }

  • version: { name: "" } (affected version)

  • target_version: { name: "" }

  • fixed_in_version: { name: "" }

  • view_state: { name: "public"|"private" }

  • custom_fields: [{field: {id|name}, value: ""}] (only the listed custom fields are changed, others stay untouched; use get_issue_fields to discover fields)

Important: when resolving an issue, always set BOTH status and resolution to avoid leaving resolution as "open".

Use the optional "note" parameter to append a note in the same call (e.g. the reason for a status change) — no separate add_note call needed. For a note without field changes use add_note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNumeric issue ID to update
noteNoOptional note text appended after a successful update (e.g. reason for a status change). Replaces a separate add_note call.
fieldsYesFields to update (partial update — only provided fields are changed; unknown keys are rejected)
dry_runNoIf true, return the patch payload that would be sent without actually updating the issue. Useful for previewing changes before committing them.
note_view_stateNoVisibility of the appended note: "public" (default) or "private". Only used when "note" is set.public
Behavior4/5

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

Annotations indicate non-destructive mutation. Description adds value by explaining partial PATCH behavior and dry_run option. Could mention side effects like notifications, but covers key behavioral traits well.

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?

Well-structured with clear first sentence, bulleted field list, and important notes (resolving, note usage). Every sentence adds value; no wasted words.

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?

Covers all field types, dry_run, note integration, and view_state. No output schema exists, so return value is not described but that's acceptable. Slightly more detail on side effects could improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description goes beyond by listing all field names with accepted formats (e.g., status with {name:...}, resolution with {id:20}) and explaining custom_fields behavior ('only listed fields changed'). This adds significant meaning.

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 clearly states the verb ('Update'), resource ('existing MantisBT issue'), and method ('partial PATCH'). It distinguishes itself from siblings like create_issue (creates new) and add_note (just adds note) via explicit guidelines.

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?

Provides explicit when-to-use (updating fields, optionally with note) and when-not-to-use (use add_note for note without field changes). Also references get_issue_fields for discovering custom fields, offering clear alternatives.

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/dpesch/mantisbt-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server