Skip to main content
Glama

Upload asset

upload_asset

Import a file or publicly accessible URL into a project's asset library. Replo generates a semantic-search embedding by default. For multi-step Replo work, call skills with name "replo".

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": {
      "projectId": "<projectId>"
    },
    "name": "upload_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
nameNo
tagsNo
altTextNo
assetFileNo
projectIdYes
generateEmbeddingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world operation. The description adds real context beyond that: the URL must be publicly accessible, and a semantic-search embedding is generated by default (tied to the generateEmbedding param). It omits what happens on duplicate uploads, permission/auth requirements, and any processing latency, so it is useful but incomplete.

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?

Three short sentences with the core action front-loaded and no filler. The closing pointer to the 'skills' tool is somewhat tangential to this tool's contract but is brief and does not bloat the definition.

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

Completeness2/5

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

A mutating, open-world tool with 7 parameters, a nested object, no schema descriptions, and no output schema needs more than three sentences. The return shape, duplicate handling, error behavior for inaccessible URLs, and most parameter meanings are left unstated.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, including a nested assetFile object, yet the description only hints at two of them (url and assetFile) and obliquely at generateEmbedding. name, tags, altText, and projectId semantics are unexplained, so the description does not compensate for the coverage gap.

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 specific verb and resource: import a file or publicly accessible URL into a project's asset library. That is clearly distinguishable from read-side siblings like find_assets. It stops short of distinguishing itself from other create-style siblings such as create_file or create_artifact, so it is not a 5.

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?

Implies usage (you want a file or URL in the asset library) and adds a routing hint to the 'skills' tool with name 'replo' for multi-step work. It never states when NOT to use it, what prerequisites exist, or how it differs from other creation tools, so guidance is only implied.

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