MCP server for the Primate Vision API (Primate Intelligence) — video scene understanding tools for AI agents.
Strong tool definitions with comprehensive descriptions (avg 250+ chars), explicit Zod schemas for all 10 tools, and proper tool annotations (readOnlyHint/destructiveHint). All parameters are typed and described. Error handling via describeError() provides API error codes and docs_url. Key gaps: output schemas are not formally documented (only described in text), no pagination guidance for list_models/get_credits, and some parameter descriptions could be more prescriptive about constraints (e.g., video_id format 'video_…' is mentioned but not enforced in schema).
Ask a question about a video (POST /v1/analyses). Provide video_id (video_…) and a free-text prompt like "Is there a person in this video?". Analysis runs asynchronously — use wait_for_analysis to block until done. The result contains answer (yes|no|indeterminate), confidence (0-1), clip timestamps, detected_count (count queries), and indeterminate_reason. Recommended: call validate_analysis first to confirm the prompt is assessable and preview the cost before spending credits. For 2–10 prompts on the same video, use create_analysis_batch (each prompt after the first is billed at 50%).
Run 2–10 prompts against the SAME video in one call (POST /v1/analyses/batch). Pricing: the first prompt is billed at full price, each additional prompt at 50% — always cheaper than separate create_analysis calls for multi-question workloads. Returns an analysis_batch with every analysis resource plus a pricing summary; poll each analysis id individually with get_analysis or wait_for_analysis. To check assessability of individual prompts first, use validate_analysis (free).
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_…).
Fetch an analysis by id (GET /v1/analyses/{id}). While running, shows live progress and queue_position. When status is "completed": result.answer (yes|no|indeterminate), result.confidence (for count queries this is confidence in the count itself), result.clips, result.detected_count (count-intent queries only; 0 = assessable but nothing found), result.indeterminate_reason (low_confidence — retry with a more specific prompt; nothing_detected — genuinely empty; unsupported_query_form — rephrase as yes/no or count; duration_mismatch — result untrusted), and result.video_duration_s (null when duration could not be determined). usage is {billed_seconds, credit_balance_after} — an immutable post-settlement snapshot.
Output schemas not formally documented. Tool descriptions mention returned fields (e.g., 'answer', 'confidence', 'clips', 'detected_count') but no structured schema definition is visible. LLMs cannot reliably extract nested fields or plan downstream tool calls without explicit output type documentation.
Pagination not addressed for list_models and get_credits. Descriptions mention 'paginated list' and 'paginated transaction history' but no limit/offset/cursor parameters are visible in schemas. Without pagination controls, large result sets risk context window exhaustion.
Resource ID format constraints not enforced in schema. Descriptions reference 'video_…' and 'an_…' prefixes but Zod schemas use bare z.string() without pattern validation. This allows invalid IDs to be passed, causing API errors that could be caught client-side.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2025-06-18+ | v2 |
Get credit balance and transaction ledger (GET /v1/credits). Returns balance_seconds (authoritative remaining credits), grant_seconds, used_seconds, and a paginated transaction history showing debits (analyses, streams) and credits (signups, purchases).
Get test fixtures for validation (GET /v1/test-fixture). Returns a list of test videos and prompts with expected answers and confidence thresholds. Use these to validate your integration and test prompt engineering.
Get current usage meters (GET /v1/usage). Returns authoritative usage meters including credit_seconds balance, period meters, limits, and reset times. Use this to check remaining credits before expensive analyses.
List available models (GET /v1/models). Returns a paginated list of model resources with id, status (stable|preview|deprecated), default flag, capabilities, and sunset_at (deprecation date). Use the model id in create_analysis or create_analysis_batch.
Dry-run a prompt WITHOUT creating an analysis or spending credits (POST /v1/analyses with validate_only: true). Compiles the prompt and returns an analysis_preview: the compiled query, assessable (false means the model cannot score this query form — rephrase as a yes/no or count question), estimated_seconds, and estimated_cost_usd (both null when the video duration is not yet known). Recommended before create_analysis to catch unassessable prompts and preview cost.
Block until an analysis reaches a terminal state (completed | failed | canceled), polling GET /v1/analyses/{id}. Returns { analysis, retry }: retry is null when the analysis reached a terminal state, or carries timeout guidance when the wait expired (call again). Default timeout 120s (test-mode analyses complete in seconds). On completion, see get_analysis for the full result field semantics (detected_count, indeterminate_reason, nullable video_duration_s, usage snapshot).
Descriptions for list_models, get_usage, get_credits, and get_test_fixture are brief (70 - 75 chars) and lack context on when to call them or what downstream tools they enable.
Error recovery guidance incomplete. describeError() returns API error code and docs_url, but does not categorize errors as retryable vs. user-fixable. Agents cannot distinguish 'retry this call' from 'ask the user to fix their input'.