Skip to main content
Glama

sfsturbo__DeleteFsTask

Cancels and deletes an SFS Turbo directory-usage async task, or deletes it if not running. Use it to remove DU tasks by task ID, file system ID, and project ID.

Instructions

[SFSTURBO] 如果异步任务正在执行,则取消并删除任务;否则,删除任务。仅支持删除目录资源使用情况的任务,API请求路径的feature取值为dir-usage,以下简称为DU任务。

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": {
      "feature": "<feature>",
      "project_id": "<project_id>",
      "share_id": "<share_id>",
      "task_id": "<task_id>"
    },
    "name": "sfsturbo__DeleteFsTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
featureYes任务类型。例,DU任务取值为dir-usage
task_idYes任务ID
share_idYes文件系统id
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the key behavioral trait that a running task is cancelled before deletion. It does not say whether deletion is irreversible, what permissions or state are required, or what the response contains, so substantial behavioral gaps remain.

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?

Two tight sentences; the conditional behavior is front-loaded and the scope restriction follows. No filler, though the bracketed vendor tag is noise for an agent.

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?

A destructive, unannotated mutating tool with four required path parameters and no output schema would benefit from more coverage of irreversibility, error behavior, and permission requirements. The description covers the behavioral branch and the supported task type, which is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description earns one extra point because it constrains the feature parameter to the single supported value dir-usage, which is real invocation guidance beyond the schema's example. It adds nothing about task_id, share_id, or project_id beyond the schema.

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?

States a specific verb+resource pair (delete an FsTask) and adds a conditional mode: cancel-then-delete if the async task is running, plain delete otherwise. That conditional distinguishes it from a generic delete, though it never names a sibling tool by name for contrast.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit eligibility restriction: only directory resource-usage (dir-usage / DU) tasks are supported, with feature fixed to that value. This is a strong when-not constraint, but it does not point to alternatives such as ShowFsTask or ListFsTasks for inspecting or handling other task types.

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