Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Task Log

query_task_log

Retrieve execution logs for a specified task instance and project, using skip and limit parameters to page through log lines.

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>",
      "taskInstanceId": "<taskInstanceId>",
      "skipLineNum": "<skipLineNum>",
      "limit": "<limit>"
    },
    "name": "query_task_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes读取的行数
projectCodeYes项目编码
skipLineNumYes跳过的行数
taskInstanceIdYes任务实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 and largely drops it. It does not state that this is a read-only operation, whether logs are paged by line, how large a window limit/skipLineNum spans, or what permission is needed on the project — all of which matter for a log-retrieval tool.

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?

It is a single short phrase with no filler, so nothing is wasted, but it is under-specified rather than well-structured. There is no front-loaded statement of purpose beyond a bare noun phrase.

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 required parameters, no annotations, and no output schema, this tool needs the description to explain paging semantics and the read-only, project-scoped nature of the call. The one-line fragment leaves the agent guessing on all of those points.

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 four required parameters (projectCode, taskInstanceId, skipLineNum, limit) are already documented in the schema. The description adds no meaning beyond them, which lands at the baseline 3.

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 (query task-instance execution logs) and adds a scope qualifier (specified project), which is enough to distinguish it from the global variant at a high level. It does not explicitly name query_task_log_global or download_task_log as alternatives, so differentiation is implied rather than stated.

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 named alternative. The parenthetical '指定项目' faintly implies project scoping, but an agent still cannot tell from the text when to pick this over query_task_log_global or download_task_log.

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