Skip to main content
Glama

dsc__CreateDatabaseWaterMark

Embeds an extractable watermark into JSON data rows using defined columns, watermark content, and a key to support dataset traceability.

Instructions

[DSC] 对json体中数据动态添加水印

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": {
      "columns": "<columns>",
      "data": "<data>",
      "project_id": "<project_id>",
      "watermark_content": "<watermark_content>",
      "watermark_key": "<watermark_key>"
    },
    "name": "dsc__CreateDatabaseWaterMark"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes嵌入可提取水印的行数限制1500-50000行。内容建议:数据具有随机性,内容重复率低
columnsYes字段类型列表,最大长度100。使用时,至少包含两个字段,一个“primary_key”为true表示主键,一个为false用来嵌入水印
project_idYes项目ID
watermark_keyYes水印密钥
watermark_contentYes添加水印的内容

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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, and it provides almost none. It does not say that a watermark is a mutation of the supplied dataset, that the watermark_key must be retained to extract later, or what happens on invalid row counts. Nothing about irreversibility, key handling, or error behavior is disclosed.

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?

A single short sentence with no filler and the core action front-loaded. It is efficient, though its brevity is more a symptom of under-specification than of disciplined editing.

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 5-required-parameter watermark-embedding mutation with no annotations and no output schema, a one-line description is far from sufficient. An agent gets no workflow context, no relationship to the extraction sibling, and no behavioral expectations for a domain-specific operation.

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 the schema already explains columns, data, project_id, watermark_content, and watermark_key in detail, and the baseline of 3 applies. The description adds no parameter meaning beyond the vague reference to 'json body data', so it neither helps nor hurts.

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 gives a specific verb plus object: dynamically add a watermark to the data carried in the JSON body. It is clear enough to distinguish from ShowDatabaseWaterMark (a read/verify tool), but it never says 'database' watermark and never differentiates from the doc/image watermark siblings in the same family.

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 when-to-use guidance, no prerequisite conditions, and no pointer to dsc__ShowDatabaseWaterMark as the corresponding extraction tool. The agent must infer the workflow from the tool name alone.

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