Skip to main content
Glama
Backlog MCP Server

Backlog MCP Server

get_document_tree

Read-only

Fetch the document tree for a Backlog project using its ID or key to inspect documentation structure and hierarchy.

Instructions

Gets the document tree of a project.

Input Schema

NameRequiredDescriptionDefault
projectIdOrKeyYesProject ID or Key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.20.5
    • removedInput schema / properties / projectIdOrKey / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / projectIdOrKey / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. Addedv0.15.1
  3. Removedv0.13.1
  4. Changed1 schema field changedv0.11.0
    • addedInput schema / properties / organization
      Added value: +{
      +  "description": "Optional organization name. Use list_organizations to inspect available organizations.",
      +  "type": "string"
      +}
  5. Addedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that – it does not say whether the tree is full-depth or truncated, whether it includes folders vs. pages, or anything about ordering or size of the response.

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?

A single short sentence with no filler, front-loading the verb and resource. It is efficient but borders on under-specification rather than being genuinely tight, since nothing substantive follows the core statement.

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

Completeness2/5

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

For a hierarchical retrieval tool, the description never explains what the tree contains (folders, documents, nesting depth), so an agent cannot predict the shape or scale of the result. With no output schema available, the description should carry more of that burden than it does.

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?

There is a single parameter with 100% schema description coverage ('Project ID or Key'), so the schema carries the semantics and baseline 3 applies. The description does not add any detail about accepted ID formats or whether a key works as well as an ID.

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?

States a specific verb ('Gets') and a specific resource ('the document tree of a project'), which is meaningfully distinct from the sibling get_documents (list) and get_document (single item). It does not explicitly name those siblings or clarify what 'tree' means structurally, so it falls short of full sibling differentiation.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus get_documents, get_document, or get_wiki_pages, and no prerequisites or exclusions are stated. The agent must infer that this returns a hierarchical view while the other tools return flat/single results.

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