Skip to main content
Glama

550W AI去字幕去水印

prepare_media_upload

为本地视频或图片申请限时上传凭证。将文件以 multipart 发送到 uploadUrl,凭证放在 X-550W-Upload-Ticket 请求头,无需获取或发送 OAuth Token。图片上传会直接提交付费图片擦除任务,返回 taskId 后用 get_image_watermark_task 查询终态,无需单独创建工具;视频上传仅准备素材,随后调用 submit_subtitle_task。须先获得用户的上传及付费处理同意。图片还必须附带 8–64 字符 operationId,重试沿用相同 ID 和文件;失败、删除、过期不重新创建任务。

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": {
      "mediaType": "<mediaType>",
      "fileSize": "<fileSize>"
    },
    "name": "prepare_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileSizeYes
mediaTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the auth mechanism (multipart to uploadUrl with an X-550W-Upload-Ticket header, no OAuth token), the consent requirement, and the retry contract (reuse the same 8-64 char operationId and file; failures/deletions/expirations must not recreate the task). This is the kind of behavioral context annotations cannot convey. The stated idempotentHint=false is not contradicted, since the caller-supplied operationId is the idempotency key, not the tool call itself.

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?

Front-loaded with the core action, then builds out auth, routing, consent, and retry rules. Very dense but every clause carries operational information; it reads as somewhat run-on but wastes little.

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?

With no output schema, the description still covers downstream routing, auth headers, consent, and retry semantics, and mentions the returned taskId for images. It stops short of describing the credential/uploadUrl response shape or where uploadUrl originates, which would fully close the loop for a tool whose whole job is producing an upload target.

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 0%, so the description must compensate. It adds real meaning for mediaType (image vs video side effects) and hints at fileSize minimums, but it never explains upload size limits for fileSize. It also introduces a required 8-64 char operationId for images that does not appear in the schema (additionalProperties: false), creating a mismatch between the documented interface and the actual parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: apply for a time-limited upload credential for a local video or image. It immediately distinguishes the two media paths and names the follow-up siblings, so an agent can tell it apart from submit_subtitle_task or get_image_watermark_task without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing guidance: images trigger the paid erasure task and are queried via get_image_watermark_task, videos only prepare material then call submit_subtitle_task. It also states the prerequisite of obtaining user consent for upload and paid processing, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources