Skip to main content
Glama

dsc__CreateImageWatermark

Embeds text or image dark watermarks into images uploaded as form data and returns the watermarked image as a binary stream. Supports JPG, PNG, BMP, TIFF, WebP, and GIF.

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

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 burden and does reasonably well: it discloses the input encoding (formData with image plus watermark info), the return type (binary stream of the watermarked image), and the full set of accepted formats. It omits permission/auth requirements and size limits, which keeps it below a 5.

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?

One front-loaded sentence that leads with the operation before listing formats. The long extension enumeration is verbose but functionally useful for validating input, so it earns its place.

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 an upload-and-transform tool with no output schema, the description supplies the return shape and accepted formats, which is the key missing context. The notable gap is that the formData fields it references are absent from the schema and never named or typed.

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% for the single declared parameter (project_id), so the baseline is 3. The description adds no meaning for project_id and instead describes formData image/watermark fields that do not appear in the schema 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?

States a specific verb and resource: embed a text blind watermark or image blind watermark into an image and return the watermarked binary stream. The mention of passing the image via formData implicitly distinguishes it from the ByAddress siblings, though it never names them 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?

Usage is implied rather than stated: the formData upload path signals when to use this over the address-based variant, but there is no explicit when-to-use, when-not, or named alternative. An agent must infer the routing rule.

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