Skip to main content
Glama

bittensor_video

Generate videos from text prompts using Bittensor's decentralized AI network. This tool creates MP4 files by describing your desired video content.

Instructions

Text-to-video generation via Bittensor subnet 18. Async — polls until ready (up to 3 min). Returns an MP4 URL. Cost: $2.00 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesVideo description to generate

Implementation Reference

  • The handler for bittensor_video tool, which initiates an async job and polls for the result.
    case "bittensor_video": {
      const job = (await callGateway({ route: "bittensor-video", prompt: a.prompt })) as Record<string, unknown>;
      if (job.status === "pending" && typeof job.job_id === "string") {
        result = await pollJob(job.job_id);
      } else {
        result = job;
      }
      break;
    }
  • The MCP tool definition for bittensor_video including its schema.
    {
      name: "bittensor_video",
      description:
        "Text-to-video generation via Bittensor subnet 18. Async — polls until ready (up to 3 min). Returns an MP4 URL. Cost: $2.00 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: { type: "string", description: "Video description to generate" },
        },
        required: ["prompt"],
      },
    },
Behavior4/5

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

With no annotations provided, description carries full burden and comprehensively discloses: async polling behavior, 3-minute timeout, return format (MP4 URL), and per-call cost. Lacks only rate limits or error handling details.

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?

Four sentences, zero waste: purpose+subnet, async timing, return format, cost. Front-loaded with primary function, every clause provides essential behavioral or cost information.

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?

Given single parameter, no annotations, and no output schema, description adequately covers critical operational aspects (cost, async behavior, timeout, return type). Minor gap in error state documentation.

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 has 100% description coverage ('Video description to generate'), establishing baseline. Description does not add syntax details, examples, or prompt engineering guidance beyond schema definition.

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 specific verb ('generation') and resource ('video'), with explicit differentiation from siblings via 'Bittensor subnet 18' (distinguishing from bittensor_image, bittensor_3d, bittensor_tts, etc.).

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?

Provides clear usage context through temporal constraints ('Async — polls until ready (up to 3 min)') and cost disclosure ('$2.00 per call'), guiding when to use vs alternatives, though does not explicitly name sibling alternatives.

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/wizerai1111/swarmrails-mcp'

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