Skip to main content
Glama

dsc__ChangeDbTemplateOperation

Starts or stops a data desensitization task for a specified project and template by setting its status.

Instructions

[DSC] 开启/停止脱敏任务

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": {
      "project_id": "<project_id>",
      "status": "<status>",
      "template_id": "<template_id>"
    },
    "name": "dsc__ChangeDbTemplateOperation"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes脱敏任务状态
project_idYes项目ID
template_idYes模板ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.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 it only conveys that this toggles state. It omits which status value means start vs. stop, whether the operation is idempotent, what permissions are required, and what happens to an in-flight masking job when stopped.

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 wasted words and the action is front-loaded, but it is a fragment that stops short of being self-sufficient. Conciseness here borders on under-specification rather than efficiency.

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?

This is a state-mutating tool with no annotations, no output schema, and two path-scoped identifiers plus a raw integer status. For that complexity level, the description should state the enum mapping and the effect of each transition; as written, an agent cannot call it confidently without guessing the status encoding.

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 three parameters are documented at a structural level, which sets the baseline at 3. However, the integer 'status' field has no enum and its schema text ('脱敏任务状态') is circular; the description's 开启/停止 wording hints at the two meaningful values but never maps them to concrete integers.

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 concrete action pair (start/stop) against a concrete resource (the desensitization/masking task), so the agent can tell it mutates task state rather than listing or creating rules like the sibling tools. It does not differentiate itself from siblings explicitly, and the name (ChangeDbTemplateOperation) vs. the text (脱敏任务) uses slightly different vocabulary, which costs it the top score.

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 call this versus alternatives (e.g., list/query the task first, or use the mask-task listing tool). No preconditions (does the task need to exist / be in a particular state) and no mention of reversibility are given.

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