Skip to main content
Glama

media_generate

Generate image or video media through the Bento model gateway using an exact upstream model ID or role. Roles: image, image:google, video, video:grok, video:pro, video:seedance, video:google, video:kling, video:kling:image. Omit model to use the role matching kind. Optional video controls: duration in seconds and resolution as WIDTHxHEIGHT.

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": {
      "workspace": "<workspace>",
      "prompt": "<prompt>"
    },
    "name": "media_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoimage
modelNo
promptYes
durationNo
workspaceYes
resolutionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world operation, so the safety profile is covered. The description adds useful context about the model gateway and the role namespace, but it never states what the call returns (URL, binary, job handle) or whether generation is synchronous or long-running — a material gap for an expensive generation call.

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?

The purpose is front-loaded in the first sentence and each following sentence adds a distinct fact (role enumeration, model-omission default, video controls). The long inline role list is dense but it is enumerated data the agent needs, not filler.

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

Completeness2/5

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

For a six-parameter generation tool with 0% schema description coverage and no output schema, the description leaves too much open: it does not say what is returned, how long generation takes, where the workspace parameter comes from, or whether duration/resolution are rejected for image kind (the schema permits them regardless of kind). The core intent is clear, but the surrounding contract an agent needs to invoke it safely is missing.

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 0%, so the description must carry the parameter burden and it partially does: model is explained in depth (exact upstream ID or one of nine roles), duration is given a unit (seconds), and resolution is given a format (WIDTHxHEIGHT). However, workspace and prompt are never explained, and kind is only touched indirectly through the 'role matching kind' note, leaving two of six parameters without any semantic content.

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 opens with a specific verb and resource: 'Generate image or video media through the Bento model gateway.' It clarifies the two addressing modes (exact upstream model ID or role) immediately, so an agent knows exactly what this tool produces. It does not need sibling differentiation here, since no listed sibling is a media-generation tool.

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?

There is one genuinely useful routing rule: 'Omit model to use the role matching kind,' which tells the agent how kind and model interact. Beyond that there is no guidance on choosing between the nine roles (quality, cost, latency) or on when to prefer image versus video generation, leaving the selection largely to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources