Skip to main content
Glama

dataartsstudio__ListDirectories

Retrieves all directories for data standards and code tables in a DataArts Studio project, with pagination support for browsing entries.

Instructions

[DATAARTSSTUDIO] 获取所有目录(数据标准、码表)。

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>",
      "type": "<type>"
    },
    "name": "dataartsstudio__ListDirectories"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes获取该目录下的数据,如果有子目录,获取所有子目录的数据。
limitNo每页查询条数,即查询Y条数据。默认值50,取值范围[1,100]。
offsetNo查询起始坐标,即跳过X条数据,仅支持0或limit的整数倍,不满足则向下取整,默认值0。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about pagination behavior, permission requirements, or the recursive directory traversal implied by the schema's `type` parameter. Calling it "获取所有目录" while the schema defaults to limit=50 also leaves unclear whether results are complete or paged, which an agent must resolve elsewhere.

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, front-loaded with the verb and resource and with a scope qualifier appended. No filler or redundancy, though the brevity leaves little room for the routing information an agent needs.

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 four parameters, no annotations, and no output schema, the description should explain return shape and pagination behavior and how this differs from the numerous other List* directory tools. It provides none of that, leaving the agent to infer everything from the schema alone.

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 the baseline is 3. The description's parenthetical ("数据标准、码表") loosely maps to the CODE/STANDARD_ELEMENT enum values, but it adds no format, constraint, or pagination detail beyond what the schema already documents.

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 states a specific verb+resource ("获取所有目录" / get all directories) and narrows the scope with the parenthetical "(数据标准、码表)", so an agent knows it lists standard-element and code-table directories. It does not differentiate from similarly named siblings such as ListAllCatalogList, ListCatalogList, or ListCatalogTree, which is the missing piece for a 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 statement of when to use this tool versus the many catalog/directory-listing siblings, and no prerequisites or exclusions are given. The only routing signal is the enum on `type`, which lives in the schema rather than the description.

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