Skip to main content
Glama

dsc__ShowImageWatermarkByAddress

Extract embedded text blind watermarks from images stored in Huawei Cloud OBS by specifying the object address, with optional watermark length for improved extraction performance.

Instructions

[DSC] 对指定存储地址信息(目前支持华为云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": {
      "project_id": "<project_id>",
      "region_id": "<region_id>",
      "src_file": "<src_file>"
    },
    "name": "dsc__ShowImageWatermarkByAddress"
  }
}

Input Schema

NameRequiredDescriptionDefault
mark_lenNo指定待提取水印的长度,最小0,最大32.。设置后可以提升水印提取性能。
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

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?

No annotations are supplied, so the description carries the full burden; it does disclose the supported storage backend and the full set of accepted image extensions, which is genuinely useful input validation context. However, it never states that this is a non-destructive read-only extraction, what it returns (the recovered watermark text?), or what happens when no watermark is present or when mark_len is wrong.

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 and the OBS constraint are front-loaded in the opening clause, then the format list follows, which is reasonable. The long enumeration of twelve extensions (*.jpg through *.gif) is somewhat bulky but functions as actionable input validation rather than filler.

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 four-parameter read operation with no annotations and no output schema, the definition covers the input side adequately but leaves the result side entirely unexplained. An agent knows how to call it but not what to expect back or how failures are reported, which is a meaningful gap for a tool with no structured output documentation.

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 src_file's obs://bucket/object syntax, region_id format, and mark_len's 0-32 range and performance benefit. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 (提取文字暗水印 - extract text blind watermark) and a specific resource scope (image located at a storage address, currently Huawei Cloud OBS). The 'ByAddress' distinction from the file-based sibling dsc__ShowImageWatermark is implied by '对指定存储地址信息', so an agent can mostly tell them apart, though the alternative is never named.

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 only conditional guidance is the storage constraint '目前支持华为云OBS' and the list of accepted formats, which implicitly tells the agent when this tool applies. There is no explicit statement of when to prefer this over dsc__ShowImageWatermark or dsc__ShowImageWatermarkWithImage, and no preconditions (e.g. the watermark must have been embedded by the corresponding Create tool).

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