Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Remove Task Instance Cache

write_remove_task_instance_cache

Removes cached task instance data by project code and task instance ID, clearing stale execution records for accurate status checks or retries.

Instructions

remove-task-instance-cache

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": "write_remove_task_instance_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id
projectCodeYes路径参数 projectCode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the entire behavioral burden, and it discloses nothing. It does not say whether this mutates persistent state, whether the cache is rebuilt afterward, whether removal is idempotent, what happens if the entry does not exist, or what permissions are required.

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 text is short, but its brevity reflects under-specification rather than conciseness; a bare hyphenated token is not a well-structured description. There is no front-loaded verb-plus-resource sentence and no supporting detail to structure.

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?

The tool is simple (two required path parameters, no nested objects, no output schema), which lowers the bar, but it is still a write/mutation operation with zero annotations and zero behavioral explanation. An agent lacks enough information to call it confidently or to know what it destroys.

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, projectCode) documented in the schema, so the baseline of 3 applies even though the description adds no parameter meaning. The schema labels them only as path parameters, which the description does nothing to enrich.

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 is only the hyphenated tool name "remove-task-instance-cache" repeated back, which is a tautology rather than a statement of purpose. An agent can infer a delete-style action on some task-instance cache, but gets no confirmation of what the cache is, which task instance the id refers to, or how this differs from the many write_* siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 or exclusions. Nothing tells the agent under what conditions removing a task instance cache entry is appropriate versus using another write tool such as write_stop_task or write_delete_process_instance_by_id.

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