Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Resource By File Name

query_resource_by_file_name

Retrieve a resource by file name, type, and tenant code. Use it to locate specific DolphinScheduler resources when you know the file name and need the matching record.

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": {
      "fileName": "<fileName>",
      "tenantCode": "<tenantCode>",
      "type": "<type>"
    },
    "name": "query_resource_by_file_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes资源类型
fileNameYes文件名
tenantCodeYes租户编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/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 behavioral burden, and it discloses almost nothing. It does not say whether fileName requires an exact match or supports a pattern, whether results are scoped by tenantCode, whether multiple matches can be returned, or what happens when nothing matches. Only the notion of lookup by name is conveyed.

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

Conciseness2/5

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

The definition is a single short phrase, so it wastes no words, but the issue is under-specification rather than conciseness. There is no structure to front-load because no substantive information is present.

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 three-required-parameter lookup tool with no annotations and no output schema, the description should explain matching semantics, tenant scoping, and result shape. It covers none of these, so an agent must rely entirely on the schema and the tool name to call it correctly.

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 all three parameters (type, fileName, tenantCode) are already documented in the schema, making a baseline of 3 appropriate. The description adds no meaning beyond the schema: it restates only the fileName dimension and says nothing about how type or tenantCode interact with the lookup.

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

Purpose2/5

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

The description "按文件名查询资源" (query resource by file name) is essentially a Chinese restatement of the tool name and title, with no additional specificity. It does convey a verb (query) and resource (resource), but it distinguishes nothing from siblings like query_resource_list, query_resource_base_dir, or query_resource_list_paging.

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 or when-not-to-use guidance. The description does not say how this differs from query_resource_list or query_resource_base_dir, nor does it state preconditions such as whether tenantCode scoping is mandatory. The agent must infer usage entirely from the tool name.

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