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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
tagsNo
altTextNo
assetFileNo
projectIdYes
generateEmbeddingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, open-world, non-idempotent behavior, so the safety profile is covered. The description adds genuine value beyond that: it discloses that a semantic-search embedding is generated by default (a side effect) and that the URL must be publicly accessible. It omits upload size limits, permission requirements, and duplicate-handling behavior.

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?

Two tight sentences with zero filler; the core action is front-loaded and the embedding side effect is appended as useful supplementary context.

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?

For a 7-parameter mutation tool with no parameter descriptions, a nested object, and no output schema, the description is too thin. It conveys purpose and one default behavior but leaves the agent guessing about most inputs and the upload constraints.

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, so the description must carry the load. It loosely covers the 'file or URL' input path and hints at generateEmbedding's default, but says nothing about the required projectId, name, tags, altText, or the nested file_id/file_name/mime_type fields.

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'), which is clearly distinguishable from read-only siblings like find_assets. It does not explicitly contrast with create_file or sightglass_copy_creative_to_assets, so sibling differentiation is implied rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as create_file or the Sightglass asset-copy tool. The agent must infer that this is the path for bringing new assets into a project.

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