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

@pixelvault-dev/local-mcp

Upload audio

upload_audio

Upload local MP3, WAV, M4A, or OGG files or import them from a public URL, with visibility, deletion TTL, folder, metadata, and private URL expiry controls.

Instructions

Upload a local MP3, WAV, M4A, or OGG path or securely import a public HTTP(S) URL. Supports public/private access, deletion TTL, folder, collection, metadata, private URL expiry, and replay-safe idempotency. The server validates actual container/codec bytes. Originals are limited to the approved global 25,000,000-byte maximum, not a plan allowance.

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

Input Schema

NameRequiredDescriptionDefault
pathNoPath to a local MP3, WAV, M4A, or OGG. Provide exactly one of path or source_url. Originals are limited to the approved global maximum of 25,000,000 bytes.
folderNo
filenameNoOriginal filename override. For URL imports, include a supported extension when the response MIME type is ambiguous.
metadataNo
expires_inNoAsset deletion TTL in seconds. Omit for permanent storage.
source_urlNoPublic HTTP(S) MP3, WAV, M4A, or OGG URL for secure server-side import. Provide exactly one of path or source_url.
visibilityNo
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, the description carries the full burden and does disclose meaningful behavior: server-side validation of actual container/codec bytes (so a mislabeled extension will fail), replay-safe idempotency, private URL expiry, and deletion TTL. It still omits permission/auth requirements, what is returned, and what happens if neither path nor source_url is supplied.

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 sentences, front-loaded with the operation and accepted formats, then the capability envelope. The comma-separated feature list is dense but each item conveys a real capability rather than filler.

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

Completeness3/5

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

For a 10-parameter mutation tool with no annotations and no output schema, the description covers formats, size ceiling, validation, and idempotency but leaves visibility defaults, folder/collection semantics, metadata handling, and the response shape unaddressed. It is adequate but has clear gaps an agent must guess at.

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 coverage is 60%, so several parameters (folder, collection_id, metadata, visibility) are undocumented in both places. The description's parameter-related content largely restates schema text such as the 25,000,000-byte cap and idempotency reuse rule, adding little meaning beyond the structured fields.

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 (upload) plus both input modes (local path or HTTP(S) URL import) and enumerates the accepted audio formats, which cleanly separates it from upload_image and upload_video without needing their schemas. An agent can identify the resource type and operation from the first clause.

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?

Usage is implied by the media-type framing and by the 'path or source_url' exclusivity note, but the description never states when to prefer a URL import over a local path, nor any prerequisite such as the URL being publicly reachable. No explicit when-not guidance or named alternatives are given.

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