Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Resource Base Dir

query_resource_base_dir

Retrieve the root directory for a specified resource type, helping agents locate base paths before querying or managing DolphinScheduler resources.

Instructions

查询指定资源类型的根目录

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

Input Schema

NameRequiredDescriptionDefault
typeYes资源类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/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 behavioral burden, yet it discloses only that this is a query. It says nothing about what a 'root directory' response contains, whether it is a single path or a collection, or what happens for an unknown resource type — a significant gap for a tool with zero annotation coverage.

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?

One short sentence with no filler, so it is efficient, but the brevity comes at the cost of specification rather than from disciplined editing. There is no front-loaded scope or consequence statement to justify the terseness.

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 no annotations and no output schema, the description is the only place return semantics could be explained, and it omits them. For a query tool whose output shape (path string vs. list) is unknown, this leaves an agent unable to predict the result.

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 coverage is 100% and there is a single required parameter, so the schema already explains the 'type' input. The description restates that it is a resource type without adding format, allowed values, or examples, so it adds no meaning beyond the structured field.

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 names a specific verb (查询/query) and resource (资源类型的根目录/root directory of a resource type), but 'root directory' is undefined and it never distinguishes itself from close siblings like query_resource_list or query_resource_by_file_name. An agent can guess the intent but cannot confidently separate it from the adjacent listing tools.

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, no exclusion of alternatives, and no stated preconditions (auth scope, whether the resource type must exist). With five sibling query tools in the same family, the agent is left to infer selection entirely on its own.

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