Skip to main content
Glama
Primate-Intelligence

Primate Intelligence

Official

create_video_from_url

Register a public HTTPS video URL for analysis. The API ingests MP4 or QuickTime files up to 2 GiB, processes them asynchronously, and returns a ready video resource with an ID.

Instructions

Register a video from a public https URL for analysis (POST /v1/videos, URL-ingest mode). The API fetches the video asynchronously — the returned video starts in status "processing" and becomes "ready". Supports video/mp4 and video/quicktime, max 2 GiB. Returns the video resource with its id (video_…).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic https URL of the video to ingest (https only, port 443).
metadataNoOptional key-value metadata to attach.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
fpsYes
errorYes
widthYes
heightYes
objectYes
sourceYes
statusYes
uploadYes
filenameYes
livemodeNo
metadataNo
created_atYes
duration_sYes
expires_atYes
size_bytesYes
content_typeYes
Behavior5/5

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

Beyond annotations, the description discloses key behaviors: the video is fetched asynchronously, status transitions from 'processing' to 'ready', supports specific formats (mp4/quicktime) and size limits (2 GiB), and returns a video id. This adds significant operational context not evident from annotations.

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 sentences, each fact-dense: purpose/endpoint, async behavior, and supported constraints/return. No redundancy or filler. Every sentence earns its place.

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

Completeness5/5

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

Given the output schema and annotations, the description covers all essential aspects: what it does, how it behaves (async), constraints, and return value. It is sufficiently complete for an agent to decide when and how to invoke this tool.

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 parameters are already described. The tool description adds extra constraints (format and max size) on the URL parameter, going beyond the schema's description. This adds meaningful value despite high schema coverage.

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 uses a specific verb 'Register' and clearly names the resource ('a video from a public https URL') and mode ('URL-ingest'). It differentiates from sibling tools like create_analysis by specifying it creates a video resource rather than an analysis.

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?

The description provides clear context: it is for URL-based video ingestion for analysis, and notes asynchronous fetching. It does not explicitly mention alternatives or when not to use, but the context is unambiguous and sufficient for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Primate-Intelligence/primate-intelligence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server