Skip to main content
Glama

dsc__ShowDocWatermark

Extracts embedded text dark watermark content from Word, PowerPoint, Excel, and PDF files to support document provenance checks and leak tracing.

Instructions

[DSC] 对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行文字暗水印提取,用户以formData的格式传入待提取水印的文件,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": {
      "project_id": "<project_id>"
    },
    "name": "dsc__ShowDocWatermark"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose the input transport (formData file upload) and the response shape (JSON containing the extracted textual watermark), but omits error behavior for documents with no watermark, authentication/permission requirements, or whether the call is read-only or has side effects.

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 front-loaded sentence that puts the operation, the accepted formats, the input transport, and the return format in a sensible order. The format enumeration is slightly long but is genuinely necessary information for this tool.

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?

There is no output schema, and the description does compensate by stating that JSON containing the extracted watermark text is returned. But for a simple one-parameter tool, the description fails to tie the call to project_id and describes an input the schema does not expose, so an agent cannot fully reconcile how to actually invoke it.

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

Parameters2/5

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

Schema coverage is 100% for the single parameter, project_id ('项目ID'), but the description never mentions project_id and instead describes a formData file parameter that does not exist in the input schema. The one piece of parameter meaning it does add (file payload format) is not representable in the schema as given, leaving the agent with a documented input it cannot supply.

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: extract text blind watermark ('文字暗水印提取') from documents that already contain an embedded watermark, and enumerates the supported formats (.docx/.pptx/.xlsx/.pdf). This clearly separates it from the Create* watermark siblings, and the 'extract from an already-watermarked document' framing implicitly counterposes it to embedding tools, though it never names the ByAddress alternatives.

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?

Usage is implied by the phrase '已嵌入文字暗水印' (documents that already have a watermark) plus the format list, which tells the agent the operation is extraction-only. However, there is no explicit statement of when to choose this over dsc__ShowDocWatermarkByAddress or dsc__CreateDocWatermark, and no prerequisite/permission guidance.

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