Skip to main content
Glama

独行录 / opcmenu

按 URL 上传图片

upload_image_from_url

登录;把公开HTTP(S)图片镜像为稳定URL;同步验大小/格式/SSRF及图片安全。avatar含二维码/联系方式会拒绝,应换图勿重试同图;moment-image仅JPEG/PNG/WebP。上传→将URL写对应对象;组织logo用fetch_organization_logo,不要假造URL。

Input Schema

NameRequiredDescriptionDefault
kindNo用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB);moment-image 是消息圈配图(≤20MB)
sourceUrlYes图片的公开 http(s) URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB);moment-image 是消息圈配图(≤20MB)"New value: +"用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB);moment-image 是消息圈配图(≤20MB)"
  2. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB)"New value: +"用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB);moment-image 是消息圈配图(≤20MB)"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "avatar",
      -  "product-logo",
      -  "product-cover",
      -  "product-gallery",
      -  "activity-cover",
      -  "activity-poster",
      -  "organization-logo"
      -]New value: +[
      +  "avatar",
      +  "product-logo",
      +  "product-cover",
      +  "product-gallery",
      +  "activity-cover",
      +  "activity-poster",
      +  "organization-logo",
      +  "moment-image"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"用途(决定存储分类),默认 avatar"New value: +"用途(决定存储分类与机审口径),默认 avatar;activity-poster 是活动长图(不缩尺寸,≤20MB)"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "avatar",
      -  "product-logo",
      -  "product-cover",
      -  "product-gallery",
      -  "activity-cover"
      -]New value: +[
      +  "avatar",
      +  "product-logo",
      +  "product-cover",
      +  "product-gallery",
      +  "activity-cover",
      +  "activity-poster",
      +  "organization-logo"
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the single destructiveHint=false annotation: synchronous size/format/SSRF/image-safety validation, per-kind content rejection rules, and the side effect that the uploaded URL gets written to the target object. This is exactly the kind of context annotations don't cover.

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?

No wasted words and the login prerequisite plus core action are front-loaded. It is a dense semicolon-separated block, which reduces readability, but every clause carries necessary information.

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 2-param tool with no output schema, the description covers prerequisites, validation behavior, content restrictions, side effects, and the sibling fallback. Return-value specifics are the only notable gap, which is acceptable given the lack of an output schema.

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%, so both parameters are already well documented, making 3 the baseline. The description adds some meaning (moment-image restricted to JPEG/PNG/WebP, avatar content rules), but most of that is behavioral rather than extending parameter definitions.

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: mirror a public HTTP(S) image to a stable URL. It explicitly distinguishes a sibling case (organization logo should use fetch_organization_logo), so an agent can tell this apart from alternatives without opening schemas.

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

Usage Guidelines4/5

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

Gives concrete when-not guidance (avatar with QR codes/contact info is rejected, replace the image and don't retry the same one) and points to the alternative tool for organization logos. It doesn't differentiate from the other upload-prep siblings, but the routing and exclusion guidance is clear and actionable.

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