Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Query Process Instance Variables

query_process_instance_variables

Retrieve the variables view for a specific workflow instance by project code and instance ID, helping you inspect runtime variable values during debugging or analysis.

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>",
      "id": "<id>"
    },
    "name": "query_process_instance_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes流程实例ID
projectCodeYes项目编码

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 disclosure burden, yet it says nothing about permissions, whether historical or completed instances are included, pagination, or the shape of the returned variables. Only the read-only nature is weakly implied by "query".

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?

The single short sentence is front-loaded and free of padding, but its brevity comes at the cost of clarity: "variable view" is ambiguous and the sentence conveys less than the tool name already does. Conciseness here borders on under-specification rather than efficient density.

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 only two fully documented parameters the schema is sufficient for invocation, but the absence of annotations and an output schema means the description should explain what comes back and under what conditions. It does neither, leaving the agent unable to predict the response or its failure modes.

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%, with both required parameters (id and projectCode) documented in the schema itself, so the baseline is 3. The description adds no meaning beyond that, such as whether projectCode must match the instance's owning project.

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 gives a specific verb-plus-resource phrase ("query the variable view of a process instance"), so the agent knows it retrieves variables scoped to an instance rather than a definition. However, it never names or contrasts the closest sibling, query_process_definition_variables, and the term "variable view" leaves open whether the result is a rendered view or a raw variable collection.

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 guidance on when to use this tool versus alternatives such as query_process_definition_variables or query_process_instance_by_id, and no prerequisites (for example, whether the instance must still be running) are stated. The only implicit signal is the word "query", which suggests a read path.

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