Skip to main content
Glama

dsc__CreateDocWatermark

Embed dark text, visible text, or visible image watermarks into Word, PowerPoint, Excel, or PDF files via form data and return the watermarked binary stream.

Instructions

[DSC] 对WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf) 类型的文件嵌入文字暗水印、文字明水印或者图片明水印,用户以formData的格式传入待加水印的文件和水印相关信息,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>"
    },
    "name": "dsc__CreateDocWatermark"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key behavior that the call returns the watermarked file as a binary stream rather than a URL or job id, which is genuinely useful. It omits whether the source file is modified in place, size/format limits, authentication or project-scope requirements, and whether the operation is synchronous or long-running.

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 dense sentence that front-loads the supported file types and watermark modes, then the input mechanism and return value. It is efficient, though the sentence is long and the return-value clause could be split for readability.

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?

For a tool with no output schema, stating that the response is the watermarked file's binary stream fills an important gap. Still, the description never explains how watermark text/image content and placement are specified, and it implies file/watermark inputs that the schema does not expose, so an agent would not know the full call contract.

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?

Only one parameter exists and the schema documents it at 100% coverage, so the baseline is 3. However, the description describes passing the target file and watermark details in formData, which are not represented in the input schema at all, leaving ambiguity about how those values are actually supplied relative to project_id.

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?

Names a specific verb (embed watermark) and resource (document files), and enumerates the supported formats (.docx/.pptx/.xlsx/.pdf) plus three watermark kinds (blind text, visible text, visible image). The phrase 'user passes the file and watermark info via formData' implicitly separates it from the ByAddress siblings, which take a stored object reference, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The formData upload wording implies the direct-upload use case as opposed to the address-based variant, but there is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites, and no routing to CreateDocWatermarkByAddress or the Show* watermark siblings.

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