Skip to main content
Glama

Reelfinery

upload_asset

Read-only

上传本地图片/音频/视频,返回公开 HTTPS URL。把返回的 url 传给 product_photoshoot / clone_voice / create_avatar / character_consistency / edit_video 等需要公开 URL 的工具。免费。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo远程文件 http(s) URL,会被下载转存到本站;与 dataBase64 二选一
filenameNo原文件名,用于识别扩展名,如 product.jpg
mimeTypeNoMIME,如 image/jpeg;不传则按 filename 推断
dataBase64No文件 base64(可带 data: 前缀);与 url 二选一

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is largely covered, and the description usefully adds that the result is a public HTTPS URL and that the service is free. It discloses nothing about size limits, accepted formats, retention of uploaded assets, or how the remote-URL rehosting path behaves — gaps that matter most for an upload tool.

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

Conciseness5/5

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

Three short sentences: what it does, what to do with the result, and the cost. Front-loaded with the action and outcome, with no filler.

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 correctly states the return value (public HTTPS URL), and the schema fully covers inputs, so an agent can call this correctly. It is only incomplete on operational constraints such as file-size caps and supported media formats, which would be worth a clause for an upload endpoint.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the per-parameter meaning (url vs dataBase64 exclusivity, filename for extension inference, mimeType fallback) is already fully documented and the baseline is 3. The description's phrase '上传本地' actively points the agent at the base64 path and never mentions the remote-URL alternative, which slightly under-sells one parameter rather than adding to it.

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 concrete verb and resource ('上传本地图片/音频/视频') plus the output ('返回公开 HTTPS URL'), which is enough to distinguish it from generator siblings. The one blemish is that it says 'local' uploads while the schema also accepts a remote 'url' to be downloaded and rehosted, so the stated scope is narrower than actual behavior.

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?

Explicitly tells the agent when to reach for this tool: any time a downstream tool (product_photoshoot / clone_voice / create_avatar / character_consistency / edit_video) needs a public URL. It names the concrete consumers, which is exactly the routing information an agent needs.

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