Skip to main content
Glama

Get Project

get_project
Read-onlyIdempotent

Retrieves a MantisBT project's master data by ID, optionally including categories, users, and versions in one call.

Instructions

Get one MantisBT project: its master data (id, name, description, status, enabled, view_state, access_level, subprojects as id and name of the direct subprojects) and, on request, its categories, users and versions in the same call.

  • include: any of "categories", "users", "versions" (default: none — master data only).

  • categories: names come without the "[All Projects] " prefix, ready for create_issue / update_issue.

  • users: id, name (login name), real_name, email, access_level. access_level returns only users at or above that level (10=viewer, 25=reporter, 40=updater, 55=developer, 70=manager, 90=administrator) and implies include "users".

  • member_query: case-insensitive substring search in login name, real name and email; returns all matching users. Implies include "users".

  • versions: id, name, released, obsolete, timestamp. obsolete=true adds obsolete versions, inherit=true adds versions of parent projects; either implies include "versions".

Users come from the local metadata cache when it is fresh and no access_level is given. Prerequisites: obtain project_id from list_projects.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoRelated data to add: "categories", "users", "versions"
inheritNoAlso return versions inherited from parent projects; implies include "versions"
obsoleteNoAlso return obsolete versions; implies include "versions"
project_idYesNumeric project ID — use list_projects to discover project IDs
access_levelNoOnly users at or above this access level; implies include "users"
member_queryNoCase-insensitive substring to find users by login name, real name or email; implies include "users"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.15.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered structurally. The description does add genuinely useful non-structured behavior: users come from the local metadata cache when fresh and no access_level filter is given, and categories are returned without the '[All Projects] ' prefix. It stops at 3 because it says nothing about what happens when the project does not exist or when project_id is invalid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded summary followed by one bullet per parameter family, so an agent can skim to the relevant option. The opening sentence is long and deeply nested with parentheticals, slightly hurting scanability, but no sentence is filler.

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

Completeness5/5

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

Six parameters with full schema coverage, and since there is no output schema the description carries the burden of describing return shapes — which it does field by field for master data, categories, users and versions. For a read-only aggregation tool, nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns above that by decoding the access_level scale (10=viewer, 25=reporter, 40=updater, 55=developer, 70=manager, 90=administrator), spelling out which fields member_query searches, and explaining the obsolete=true versus inherit=true distinction. Those semantics are not recoverable from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource and enumerates exactly what master data is returned (id, name, description, status, enabled, view_state, access_level, subprojects) plus what can be fetched optionally. It stops short of 5 because the closely related siblings get_project_categories, get_project_users, get_project_versions and find_project_member are never named, so the agent must infer that this tool exists as the one-call aggregator over them.

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?

Gives a clear prerequisite ('obtain project_id from list_projects') and precise implication rules — access_level, member_query, obsolete and inherit each imply include 'users'/'versions' — which is exactly the guidance needed to invoke it correctly. What it lacks is routing: it never says when to prefer get_project_categories or find_project_member over passing include=[...] here.

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