Skip to main content
Glama

dsc__ShowImageWatermarkWithImageByAddress

Extracts an embedded image watermark from a supported image stored in Huawei Cloud OBS and saves the extracted watermark image to a specified OBS location.

Instructions

[DSC] 对指定存储地址信息(目前支持华为云OBS)的已嵌入图片暗水印的图片提取图片暗水印,提取出的水印图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.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": {
      "image_watermark": "<image_watermark>",
      "project_id": "<project_id>",
      "region_id": "<region_id>",
      "src_file": "<src_file>"
    },
    "name": "dsc__ShowImageWatermarkWithImageByAddress"
  }
}

Input Schema

NameRequiredDescriptionDefault
src_fileYes待提取图片暗水印的图片地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。
region_idYes项目所在region的id,如:xx-xx-1。
project_idYes项目ID
image_watermarkYes提取出来的水印图片存放地址,格式要求同src_file。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavior burden and does cover the important points: the source is restricted to an OBS object, the extracted watermark image is written to a caller-specified location, and the accepted image formats are enumerated. It omits what happens when no watermark is detected, permission/auth requirements, and whether anything existing at the output path is overwritten.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence with the purpose front-loaded, which is good, but roughly a third of its length is a thirteen-entry extension list that crowds out more useful guidance. The core statement is efficient; the format enumeration is bulky relative to its value.

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 no annotations, so the description usefully states that the return artifact is a watermark image written to a caller-specified OBS path. However, for a tool that fully documents its four inputs, it leaves the recovery/error path and preconditions unaddressed, which is a real gap for an agent invoking it blind.

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% and the schema already explains obs://bucket/object syntax, region and project ids, and that the output path follows the same format, so the description adds essentially no parameter detail beyond it. The baseline 3 applies since the schema does the heavy lifting.

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 states a specific verb+resource (extract the blind watermark from an image) and scopes it to images held at a storage address, which implicitly separates it from the same-name siblings that take an uploaded image (dsc__ShowImageWatermarkWithImage). It does not name any sibling explicitly, so differentiation is inferred rather than stated.

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 source ('an image already carrying a blind watermark, at a storage address such as Huawei Cloud OBS') and by the requirement that the output go to a user-specified OBS location. There is no explicit when-to-use versus the CreateImageWatermarkByAddress or non-ByAddress variants, and no stated preconditions such as 'the source image must actually contain a watermark'.

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