Skip to main content
Glama
@pixelvault-dev/local-mcp

@pixelvault-dev/local-mcp

Upload video

upload_video

Upload a local MP4 or import a public HTTPS MP4 URL, then set visibility, folder, metadata, and optional deletion expiry; returns a stable asset ID for playback and management.

Instructions

Upload a local MP4 path (direct uploads up to 100 MB) or securely import a public HTTPS MP4 URL. Supports public/private access, deletion TTL, folder, collection, metadata, private URL expiry, social-ready optimization, and replay-safe idempotency. Returns the stable asset ID immediately.

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_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoPath to a local MP4. Provide exactly one of path or source_url. Direct local uploads are limited to 100 MB.
folderNo
filenameNoOriginal filename override. Defaults to the local basename or video.mp4.
metadataNo
expires_inNoAsset deletion TTL in seconds. Omit for permanent storage.
source_urlNoPublic HTTPS MP4 URL for secure server-side import. Provide exactly one of path or source_url.
visibilityNo
social_readyNoStart social-ready H.264/AAC fast-start optimization after upload.
collection_idNo
idempotency_keyNoReplay-safe upload key. Reuse only with identical input and lifecycle settings.
sign_expires_inNoPrivate URL lifetime in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.9/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 substantial work: size ceiling, server-side versus direct transfer, visibility scope, deletion TTL, idempotency for replay safety, and an immediate stable asset ID return. It omits auth requirements, failure/retry behavior, and whether processing is synchronous, which keeps it short of a 5.

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?

Two sentences with the primary sourcing decision front-loaded before the capability list. The second sentence drifts into a comma-separated feature inventory, which is efficient but reads as enumeration rather than prioritized guidance.

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 an 11-parameter creation tool with no annotations and no output schema, the description covers the essential decision (which source), the key constraints (100 MB, TTL), and the return (asset ID), which is enough to call it correctly. It could say more about how visibility interacts with sign_expires_in to be fully self-contained.

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

Parameters3/5

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

Schema description coverage is 64% across 11 parameters, and the description reinforces the path/source_url exclusivity plus the visibility, expiry, folder, collection, metadata, and idempotency knobs. It adds no detail on the undocumented remainder, notably sign_expires_in (private URL lifetime) and filename, so it 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a precise verb and resource (upload an MP4) and separates two distinct sourcing modes: a local path with a 100 MB cap versus server-side import from a public HTTPS URL. An agent can distinguish this from upload_audio and upload_image on media type alone without opening any schema.

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?

It implies selection logic by presenting path and source_url as parallel alternatives and flags social_ready as an in-call option rather than a follow-up call. However, it never says when to prefer this over a sibling such as optimize_video or sign_video_url, nor does it state prerequisites for either upload mode, leaving the agent to infer routing.

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