Skip to main content
Glama

te_get_space_tree

Retrieves a project's navigation space tree, including folder, dashboard, and report hierarchy, to help locate and organize analytics assets.

Instructions

Get navigation space tree (folders, dashboards, reports hierarchy)

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": {
      "projectId": "<projectId>"
    },
    "name": "te_get_space_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoTE system host (e.g. ta.thinkingdata.cn). Defaults to TE_HOST env var.
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. "Get" implies a read, but the description never confirms it is non-mutating, says nothing about permission requirements, depth of the hierarchy, pagination, or cost for large spaces. The parenthetical adds useful shape information but no runtime behavior.

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 front-loaded sentence with a compact parenthetical that earns its place by clarifying the return shape. Nothing is padded or redundant. It is perhaps too terse, but that is a completeness issue rather than a conciseness one.

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

Completeness3/5

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

This is a low-complexity two-parameter read tool with a fully documented schema and no output schema, so the description only needs to cover intent and return shape. It does both adequately, but leaves the agent guessing about tree depth, scoping of projectId, and whether items carry identifiers usable by te_get_dashboard.

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?

Both parameters (host, projectId) are fully described in the schema at 100% coverage, so the schema already does the heavy lifting. The description adds nothing about how projectId scopes the tree or whether host selects a tenant, so the baseline 3 applies. No compensation is needed given the coverage.

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?

The description pairs a specific verb ("Get") with a specific resource ("navigation space tree") and then enumerates what the tree contains (folders, dashboards, reports hierarchy). An agent immediately knows this returns a structural overview rather than a flat list, which the similarly named list/get dashboard siblings do not provide. It stops short of naming how it differs from te_list_dashboards or te_get_dashboard, so it lands at 4 rather than 5.

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 when-to-use guidance at all: nothing says whether this should be called before te_get_dashboard to discover IDs, whether it is a cheaper alternative to te_list_dashboards, or whether it covers the whole project. With many sibling tools that return dashboard/report listings, the absence of any routing statement is a real gap. Usage is only implied by the word "navigation".

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