Skip to main content
Glama

dlf__ShowDirectoryTree

Queries a DLF directory tree by project ID, with optional name, category, directory ID, and pagination filters, to inspect folder structure and organize data assets.

Instructions

[DLF] 查询目录树

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": "dlf__ShowDirectoryTree"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo目标元素名称.
limitNo每页显示的条目数量.
offsetNo查询偏移量.
categoryNo查询的目录节点类型.
project_idYes项目编号.
directory_idNo目录编号.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing. The presence of limit/offset parameters implies pagination, but neither the description nor the schema states default page size, result ordering, whether traversal is recursive, or whether subtree depth is fixed. For a tree traversal with zero annotation coverage, this is a serious gap.

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

Conciseness3/5

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

At a single bracketed tag plus four characters, there is no wasted wording, but the brevity reflects under-specification rather than discipline. Nothing about the tree's scope or return shape is front-loaded because nothing is stated.

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?

With six parameters, no output schema, and no annotations, the description should explain what a directory tree response looks like and how paging interacts with hierarchical results. It leaves the agent unable to predict the output at all, which is inadequate for a tool of this complexity.

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%, so every parameter (name, limit, offset, category, project_id, directory_id) already documents itself, and the baseline of 3 applies. The description adds no meaning beyond the schema — it does not clarify how directory_id scopes the root, how category filters node types, or how name matching works.

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

Purpose3/5

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

The description identifies a specific verb and resource ("查询目录树" — query the directory tree), which is clearer than a bare tautology. However, it offers nothing to distinguish it from the many sibling tree-listing tools (ShowFlameLineTree, ShowTopologyTree, ShowFolderTreeByName, ListCatalogTree), so an agent cannot tell which tree this returns.

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 — no mention of what a DLF directory tree is, when to prefer it over other tree tools, or what the required project_id implies. The agent must infer everything from the nine-character title.

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

Deploy Server

Other Tools