Skip to main content
Glama

import_asset

Destructive

Make an asset from a file on the web: Rendermate downloads it from the URL, up to 5 GB, and records it under the name. Use it instead of upload_asset when the file has a URL. It answers with a running import; call get_import until its status is succeeded (with the asset) or failed (with why). A taken name is refused unless overwrite is set. A document uses the asset as asset://.

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": {
      "name": "<name>",
      "url": "<url>"
    },
    "name": "import_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAn http(s) URL on the public internet that Rendermate downloads the file from, up to 5 GB.
nameYesThe asset's path in the workspace, such as `launch/intro.mp4`.
overwriteNoReplace an asset already at this name. Without it, a name that's taken is refused with `asset.name_taken`, and so is one taken while the file downloads.
project_idNoThe project it belongs to; the workspace's default project when absent.
content_typeNoIts content type; the server's, else guessed from the name's extension, when absent.

Output Schema

NameRequiredDescriptionDefault
idYes`imp_…`.
urlYesWhere it downloads the file from.
nameYesThe asset it makes.
assetNoThe asset, once it has succeeded.
errorNoWhy it failed.
statusYes`running`, `succeeded` or `failed`.
created_atYesRFC 3339.
updated_atYesRFC 3339: when its status last changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, destructive, open-world). The description adds tool-specific behavior an agent cannot infer: the 5 GB cap, the asynchronous "running import" return value, the required polling loop with get_import, and the asset.name_taken refusal unless overwrite is set. This is exactly the extra context the annotations do not carry.

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?

The definition is front-loaded with the core action, then the sibling routing, then the async follow-up, then edge cases — a sensible order with little waste. The final line ("A document uses the asset as asset://<name>") is terse enough to read as an afterthought, but it carries useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with an output schema and full parameter descriptions, the description supplies everything an agent needs: the async lifecycle, polling target, size limit, overwrite refusal semantics, and reference format. Nothing important is left to inference.

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 coverage is 100%, so the baseline is 3; the description still adds meaning by tying name to the asset://<name> reference syntax used in documents and by explaining overwrite's role in the name-taken refusal, including races during download. Only project_id and content_type are left entirely to the schema, which is acceptable given full coverage.

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?

"Make an asset from a file on the web" names a specific verb and resource, and the following clause spells out the mechanism (server downloads from a URL and records it under a name). It explicitly contrasts itself with the sibling upload_asset, so an agent can distinguish the two without inspecting schemas.

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?

It states when to choose this tool over the alternative ("Use it instead of upload_asset when the file has a URL") and gives the post-call workflow: poll get_import until status is succeeded or failed. The overwrite caveat also signals the condition under which re-import over an existing name is allowed.

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