Skip to main content
Glama

Get Project Categories

get_project_categories
Read-onlyIdempotent

List all categories for a MantisBT project and strip the global [All Projects] prefix so returned names can be used directly when creating issues.

Instructions

List all categories available for a MantisBT project.

Note: The MantisBT API returns global (cross-project) categories with a "[All Projects] " prefix. This tool strips that prefix so the returned names can be used directly when creating issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesNumeric project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.14.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / project_id / maximum
      Added value: +9007199254740991
  2. Addedv1.10.4
  3. Removed
  4. First observedv1.5.6

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real behavioral value by disclosing that global categories carry a '[All Projects] ' prefix which this tool strips. That transformation is non-obvious and affects what the caller receives. It stops short of pagination or ordering behavior, hence 4 not 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?

Two sentences, purpose front-loaded, and the second sentence is a genuine note about output normalization rather than filler. No redundancy.

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?

A simple single-parameter read tool with no output schema and annotations covering the safety profile; the description is nearly complete for that surface. The prefix-stripping note is especially valuable given there is no output schema to reveal it, though ordering/empty-result behavior remains unstated.

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 100% with a single fully-described project_id parameter, so the schema carries the semantics. The description adds no format or constraint detail beyond what the schema provides, making 3 the correct baseline.

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 ('List') and resource ('categories') scoped to a MantisBT project. The mention of 'all categories available for a project' clearly distinguishes it from sibling tools like get_project_versions, get_project_users, or get_issue_enums.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the note that returned names 'can be used directly when creating issues' hints at the create_issue workflow, but there is no explicit when-to-use, when-not, or named alternative. Adequate but with a clear gap.

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