Skip to main content
Glama

Get Project Categories

get_project_categories
Read-onlyIdempotent

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

Instructions

Deprecated: use get_project with include: ["categories"] instead — get_project_categories will be removed in 2.0.0.

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

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.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive safety, and the description adds genuinely non-obvious behavior: the MantisBT API prefixes global categories with "[All Projects] " and this tool strips it so names are usable in create_issue. That transformation is not derivable from schema or annotations, though return shape/pagination is not described.

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?

Front-loads the deprecation and alternative in the first line, then a one-line purpose, then a short behavioral note. Every sentence earns its place with zero filler.

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 deprecation, purpose, alternative, and the prefix-stripping behavior — enough to invoke correctly for a simple single-param read tool. The only minor gap is the exact return structure, which is implied but not stated since no output schema exists.

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% with a single documented project_id parameter, so the schema carries parameter meaning fully. The description adds nothing about the parameter (e.g., that only the given project's categories plus global ones are returned), so baseline 3 applies.

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 and resource ("List all categories available for a MantisBT project") and immediately distinguishes itself by flagging deprecation in favor of get_project with include: ["categories"]. An agent can tell exactly what it returns and whether to call it at all.

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?

Explicitly says this tool is deprecated and names the exact alternative invocation (get_project with include: ["categories"]), including the removal version 2.0.0. This is the strongest possible when/when-not guidance.

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