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

@pixelvault-dev/local-mcp

Optimize video

optimize_video

Starts social media optimization for a video and returns asset/job IDs immediately; optional polling tracks progress, and local timeouts do not cancel the server job.

Instructions

Start social-ready optimization. Returns asset/job IDs immediately by default; optional bounded polling can be resumed with get_video. Local timeout does not cancel the server job.

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": {
      "id": "<id>"
    },
    "name": "optimize_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStable video asset ID (vid_...).
waitNoPoll until terminal state. False returns asset/job IDs immediately for later resume with get_video.
timeout_secondsNoLocal wait limit; timeout never cancels the server job. Default 600.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.7/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 burden and does well: it discloses asynchronous job semantics, that a local timeout does NOT cancel the server-side job, and that polling can be resumed later. It stops short of stating whether repeated calls are idempotent, what output renditions result, or any rate/permission constraints.

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 tight clauses with the key facts front-loaded and zero filler. The phrase 'social-ready optimization' is slightly opaque jargon that is never unpacked, which is the only real source of slack.

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 three-parameter async job-start tool with no annotations and no output schema, the description covers the essential contract: immediate IDs, polling option, resumption path, and timeout non-cancellation. The nature of the resulting optimized assets remains undefined, which is the main remaining gap.

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 100%, so the schema already defines id, wait, and timeout_seconds in detail. The description largely restates the wait/timeout behavior already present in the schema and adds no new format, default, or interaction detail beyond it.

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?

The description uses a specific verb ('Start ... optimization') on a clear resource (video) and states the immediate return value (asset/job IDs). It does not explicitly differentiate itself from nearby siblings such as optimize_image or transform_image, leaving that inference to the agent.

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 does explain the two-mode usage pattern: default non-blocking behavior versus optional bounded polling resumable with get_video. However, it offers no guidance on when to choose optimize_video over optimize_image or transform_image, and no prerequisites (e.g., an uploaded asset) are stated.

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