Artificial Intelligence

VideoDB MCP

VideoDB MCP lets agents upload, index, search, edit and stream video and audio, generate media, and manage collections in VideoDB.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Aggregate index

    Counts, groups and facets over one index built by create_index (use_for includes 'aggregate') in a video or across a collection. Provide exactly one of index_id or index_name. Returns aggregate rows, not moments.

  • Export result set

    Export a result set from dataset_search as downloadable training data, by content_id, in the set's rank order: at most 50 rows per call for lerobot or rlds, 10 for mcap (also the fallback when formats is omitted). For a larger set, call again with offset set to the previous reply's rows.next_offset until it is null; each call is its own export and download. A slice that is still too large to export at once is refused with a smaller limit to use. Export a finished set only (after get_search_status reports success); to export a subset such as the confirmed tier, ask dataset_search for that set in the same session and export its content_id. The output depends on each row's dataset and its export lane in list_datasets, not on the annotation layer that matched: - robot: one training format per export, lerobot, rlds or mcap. Each row exports its whole episode with the recorded state, action and every camera; rows from the same episode become one episode. Only what the source records is exported; multi-dimensional sensor arrays such as depth maps, LiDAR and tactile grids are left out; nothing is inferred or synthesized. - clip: MP4 only, frame-accurate clips of each annotated span plus clips/manifest.json with the annotation text. formats does not apply. - blocked: skipped and listed in errors.json while the rest of the set exports. A set with robot rows needs a format: use the one the user named, or ask them (LeRobot/Hugging Face → lerobot, RLDS/TFDS/Open X-Embodiment → rlds, ROS 2/Foxglove → mcap); left out, it falls back to mcap. A mixed set writes the robot format and the MP4 clips side by side. Returns {export_id, status:'queued', rows:{offset, limit, total, next_offset}} at once. Next: poll get_export_status(export_id).

  • Get account usage

    Get the connected VideoDB account's current usage and billing summary as reported by VideoDB.

  • Get analyzer output

    Return the raw artifact one analyzer produced in an understanding run, such as transcript segments or per-scene descriptions with start/end. Requires the analyzer status to be done (see get_understanding). Lists are capped at 200 items.

  • Get audio

    Get metadata for one audio file: name, duration and size.

  • Get collection

    Get one collection's ID, name, description and public/private visibility.

  • Get export status

    Poll an export_result_set job by export_id every 15–30 s until status is 'complete' or 'failed'. progress and summary report requested, exported and failed rows; a complete job can still hold a partial dataset, so read summary and tell the user what was left out (per-row reasons are in errors.json inside the download). A complete export carries download.url and download.curl, valid for one hour and bound to the first machine that fetches it. Give the link to the user to download on their own machine; do not fetch it yourself unless you are the one who needs the files. For a machine behind a rotating IP, call again with portable=true for an unbound single-use link. Calling again mints a fresh link for the same bytes; compare download.sha256 with a copy already downloaded before fetching again. Exports are kept for 7 days.

  • Get image

    Get metadata for one image: name and URL.

  • Get index

    Get one v2 index manifest by ID or name: status (building/ready/failed), record count, capabilities and field schema.

  • Get index records

    Page through the records stored in a v2 index (scene_id, start, end, data). Pass next_cursor from the previous page to continue.

  • Get job result

    Fetch the result of a background job started by upload_media, render_timeline, download_timeline_render, download_stream, generate_clip, compile_clips, create_highlight_clip, reframe_video, generate_transcript or translate_transcript. Pass the output_url those tools returned. While the job is running the reply is {status:'processing'} with the same output_url — wait ~30 s and call again; when it finishes the reply is the job's result (media record, stream_url + player_url, download_url, shots, or translated segments). If the job itself failed the reply is {status:'failed', message} — the job will not recover, so do not keep polling. If it failed because the account is out of credit the reply is {status:'insufficient_credit', console_url} instead. Only VideoDB job URLs are accepted.

  • Get media download url

    Get a signed, time-limited download URL for an audio file (a-) or image (img-). Video IDs (m-) are not supported here — use download_stream for an MP4 of a video.

  • Get result set

    Summary of a result set from dataset_search: name, count (rows), video_count, scope (the query and filters that built it), complete (false when a cap cut it short), tiers (confirmed/partial/rejected/unjudged counts, when judged), score range, and the top value counts of each low-cardinality field (e.g. dataset, task, tier). Use it to answer "how many" and "what's in it" without paging rows, and to pick values for list_result_shots `where`. Many rows can share one annotation sentence, so a large count is not the same as varied data. The dataset counts say what export_result_set will produce; list_datasets gives each dataset's export lane. Sets belong to the caller and persist across conversations.

  • Get rtstream

    Get one real-time stream: name, status, sample rate, media types, creation time.

  • Get rtstream index records

    Read the records materialised into an understanding-backed index, optionally limited to a Unix-second start/end window. Paginated.

  • Get rtstream scenes

    Read the records a scene index has produced so far (Unix-second start/end plus description). Filter to a time window with start and end together; paginate with page/page_size.

  • Get rtstream stream

    Generate a playable stream and player URL for a time window of a real-time stream. start and end are Unix timestamps in seconds (e.g. the start/end of a search hit or scene record).

  • Get rtstream transcript

    Read the real-time transcript of a stream (requires transcription started via connect_rtstream enable_transcript or set_rtstream_transcript_status). Filter by Unix-second start/end, or pass since to poll for new segments only.

  • Get rtstream understanding records

    Read the analysis records an understanding produced for a Unix-second time range (start and end required). Paginated.

  • Get sandbox

    Get one sandbox: its status, tier, prepared models and lifetime. Statuses are provisioning (starting, not usable yet), active (ready for jobs), alert (usable but degraded), stopping, stopped and failed. Both stopped and failed are terminal — a sandbox cannot be restarted, so create a new one.

Page 1 / 3Next