Skip to main content
Glama

dsc__ShowImageWatermarkWithImage

Extracts an embedded image watermark from a supported image file submitted via form data and returns the recovered watermark as an image binary stream.

Instructions

[DSC] 对已嵌入图片暗水印的图片进行水印提取,用户以formData的格式传入待提取水印的图片,DSC服务以图片二进制流的格式返回从图片里提取的出的图片暗水印。目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

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__ShowImageWatermarkWithImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the load and does meaningful work: it discloses the transport contract (the image is supplied via formData, which is NOT reflected in the input schema's single project_id field) and the return form (a binary image stream of the extracted watermark, not JSON). It omits what happens when no watermark is present or on invalid formats, but the input/output shape disclosure is the higher-value information.

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?

Purpose, input mechanism and return format are front-loaded in the first clause, with format support trailing at the end where it belongs. The 14-extension enumeration is long but functionally useful for pre-call validation. Minor redundancy in restating '从图片里提取的出的图片暗水印' but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter extraction tool with no annotations and no output schema, the description covers the essentials an agent needs: what it does, how to send the image, what comes back, and which formats are accepted. Missing are failure semantics (no watermark detected, unsupported format errors) and any note that project_id scopes the request, which keeps it from a 5.

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% and the lone parameter project_id is documented in the schema as a 32-character project ID, so the baseline applies. The description adds nothing about project_id's meaning or scope. Its real contribution is the implicit payload parameter (the formData image), which the schema does not model at all.

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?

Description states a specific verb and resource: extract the blind image watermark from an image that already has one embedded, returning the extracted watermark as a binary image stream. That is clearly distinguishable from the Create/embed siblings by the extraction framing. It does not explicitly contrast with dsc__ShowImageWatermark or the ByAddress variant, so it stops short of a 5.

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 strongly implied by '对已嵌入图片暗水印的图片进行水印提取' – use this when you already have a watermarked image and want the watermark back. However, there is no explicit when-not guidance and no naming of the alternative siblings (e.g. the ByAddress variant that takes a URL instead of formData), so the agent must infer which of the four extraction tools to pick.

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