Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Process Definition By Code

query_process_definition_by_code

Retrieves workflow process definition details by project code and definition code, returning the workflow DAG metadata needed to inspect or audit a scheduled job.

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": {
      "projectCode": "<projectCode>",
      "code": "<code>"
    },
    "name": "query_process_definition_by_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes流程定义编码
projectCodeYes项目编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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, and it adds nothing beyond 'query'. It does not say what happens when the code does not exist, whether a permission or project scope is required, or how a missing or inaccessible definition is surfaced to the caller.

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 clause with zero filler, and the key (by code) is front-loaded. It is efficient, but its brevity comes at the price of any detail that would help the agent call it correctly.

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?

This tool has no annotations and no output schema, so the description is the only place to learn what '详情' returns or how failures appear, and it says neither. For a two-parameter lookup whose whole value is the returned detail, that leaves a material gap.

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%: both code and projectCode are typed and documented in the schema. The description only restates that lookup is by code and adds no format, range, or scoping semantics beyond the structured fields, so the baseline of 3 applies.

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?

Names a specific verb (查询, query) and resource (流程定义详情, process definition details) with the lookup key (按编码, by code) front-loaded. It is distinguishable from siblings like query_process_definition_by_name by the key it takes, though the description never says so explicitly.

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 and no mention of alternatives such as the by-name or list variants in the sibling set. The only implied signal is that this is the single-record lookup keyed by code, leaving the agent to infer the rest.

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