Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Project By Code

get_project_by_code

Retrieves DolphinScheduler project details by project code, helping AI agents identify the correct project before analyzing workflows or running operations.

Instructions

通过项目ID查询项目信息

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

Input Schema

NameRequiredDescriptionDefault
codeYes项目Code

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 supplied, so the description bears the full burden. '查询' implies a read, but it says nothing about permission/authorization requirements, behavior when the code does not exist, or what the response contains — all relevant since there is no output schema.

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 with no filler and the key concept front-loaded. It is efficient, though the brevity reflects under-specification as much as tight writing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with no annotations or output schema, the definition is minimally viable, but it omits return shape, not-found behavior, and access requirements. An agent could invoke it, yet could not predict what it gets back.

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% with a single required parameter, so the schema already defines 'code' as an integer of the project Code; the description adds no format, range, or source detail. Baseline 3 applies, with the 'ID' wording in the description slightly muddying rather than enriching the parameter's meaning.

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 names a specific verb (查询/query) and resource (项目信息/project information) plus the lookup key, so an agent can tell it retrieves a single project rather than a list. It does not differentiate against siblings such as query_project_list_paging or get_project_parameter_by_code, and calls the key '项目ID' while the schema calls it 'code', a minor inconsistency.

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 prerequisites, and no mention of alternatives — the agent is left to infer that this is the single-project lookup versus the paging/list siblings. Only the implicit 'query by code' framing hints at usage.

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