Skip to main content
Glama

neos_upload_asset

Upload images, PDFs, videos, or other files to Neos Media Manager from a local path, URL, or base64 content, returning an asset identifier for use in Neos content properties.

Instructions

Upload a file (image, PDF, video, …) into the Neos Media Manager. Provide exactly one source: a local file_path, a url to download, or base64_content. If a file with identical content already exists, the existing asset is returned (duplicate: true). The returned identifier can be used as value for image/asset properties via neos_update_node_property.

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": "neos_upload_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoHTTP(S) URL of a file to download and upload
tagsNoTag labels to assign; missing tags are created
titleNoAsset title
captionNoAsset caption
filenameNoTarget filename incl. extension. Defaults to the name from file_path or url.
file_pathNoAbsolute path to a local file to upload
base64_contentNoBase64 encoded file content (data URI prefix allowed); requires filename
allow_duplicateNoCreate a new asset even if identical content already exists
copyright_noticeNoCopyright notice
asset_collectionsNoAsset collection titles to add the asset to; missing collections are created

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does solid work: it discloses deduplication semantics (identical content returns the existing asset with duplicate: true), the allow_duplicate escape hatch, and that missing tags and asset collections are created as a side effect. It stops short of stating auth requirements, size/time limits, or whether uploaded assets are immediately published, which are material for a mutation 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 tight sentences: purpose first, then the input constraint, then dedup behavior and the identifier's downstream use. Every clause conveys non-redundant information and the operation-critical constraint is front-loaded.

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 10-parameter, annotation-free mutation tool with no output schema, the description covers the essentials an agent needs: which parameters to supply, dedup semantics, and what the return is for. Missing only peripheral context such as permission requirements and the rest of the response shape beyond the identifier and duplicate flag.

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 earns above that by declaring an exclusivity constraint the schema does not encode (no anyOf/oneOf, required list is empty) — "Provide exactly one source." Much of the remaining parameter meaning (title, caption, copyright_notice, tags, asset_collections) is already covered by the schema text.

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 and resource — "Upload a file (image, PDF, video, …) into the Neos Media Manager" — and names the accepted media scope. An agent can immediately distinguish this from sibling listing/reading tools like neos_list_assets.

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 a clear selection rule for the three mutually exclusive input modes (file_path, url, base64_content) and describes the duplicate-handling path (existing asset returned with duplicate: true). It also points to neos_update_node_property as the consumer of the returned identifier, which clarifies downstream usage. No explicit when-not guidance or prerequisites (permissions) are stated, keeping it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.