Skip to main content
Glama

dsc__BatchAddDataMask

Applies specified masking strategies to fields in a data list, enabling batch data desensitization for privacy protection.

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": {
      "data": "<data>",
      "mask_strategies": "<mask_strategies>",
      "project_id": "<project_id>"
    },
    "name": "dsc__BatchAddDataMask"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes数据列表。
project_idYes项目ID
mask_strategiesYes脱敏策略列表,每一个策略对应一个字段,脱敏策略数最多100个。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden — yet it says nothing about whether masking is reversible, what happens to input records, whether project_id implies authorization scope, or what is returned (no output schema). Limits such as 2000 records / 100 strategies appear only in the schema, not the description.

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 contains no waste and is front-loaded, but its brevity reflects under-specification rather than disciplined editing. There is no structure to separate purpose, batch semantics, or constraints.

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?

For a 3-required-parameter batch mutation taking up to 2000 records with up to 100 per-field strategies and no output schema, the description should at minimum explain batch behavior and the result. Instead it provides only a one-line restatement of the tool name.

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 coverage is 100%: data, mask_strategies and project_id are all documented in-schema with lengths, maxItems and enum algorithms. The description adds no further meaning about these parameters, so the baseline 3 for fully documented schemas applies.

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?

"[DSC] 对数据进行脱敏" names a verb (mask/desensitize) and a resource (data), so the broad operation is identifiable. However, it does not distinguish this from sibling tools such as dsc__AddRule or dsc__ListDbMaskTask, and "batch" semantics implied by the tool name are never surfaced in the text.

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 the many dsc__ rule/watermark/masking siblings, and no prerequisites (e.g. project readiness, strategy configuration) are mentioned. Usage must be inferred entirely from the name and schema.

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