Skip to main content
Glama

Private AI Media Generation

Pick a model for a task

recommend_model
Read-only

Decide which model fits a need — returns the modelId to use with generate_image. Cheapest, fastest, or highest quality; for images, video, or utility tools (upscale, background removal); with or without a source image. Pass private:true to restrict to the private AI model line (i2v models).

Input Schema

NameRequiredDescriptionDefault
goalYesWhat to optimize for
mediaYesOutput type — 'tool' = image transforms (upscale, remove-bg)
privateNoTrue to consider only the private AI model line
hasSourceImageNoTrue when a source image drives the job (forces i2i/i2v/tool)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / hasSourceImage / description
      Previous value: -"True when a source image drives the job (forces i2i/i2v)"New value: +"True when a source image drives the job (forces i2i/i2v/tool)"
    • changedInput schema / properties / media / description
      Previous value: -"Output type"New value: +"Output type — 'tool' = image transforms (upscale, remove-bg)"
    • changedInput schema / properties / media / enum
      Previous value: -[
      -  "image",
      -  "video"
      -]New value: +[
      +  "image",
      +  "video",
      +  "tool"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / private
      Added value: +{
      +  "description": "True to consider only the private AI model line",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral value beyond structured fields: it names the return value (modelId) and explains that private:true restricts to the private AI model line (i2v models).

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?

Front-loads the purpose and the returned artifact, then layers the option space efficiently. Dense but every clause maps to an actual parameter dimension, so nothing is wasted; slightly clause-heavy punctuation keeps it from a clean 5.

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?

For a read-only, no-output-schema tool, the description covers purpose, the return artifact, and all parameter axes. It does not explain failure modes (e.g., no model matches the constraints), which is the only notable gap.

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 the schema already documents all four parameters, setting a baseline of 3. The description adds meaning on top, glossing media='tool' as upscale/background removal and clarifying private:true as the private i2v model line, exceeding the baseline.

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 a specific verb+resource (decide/recommend a model) and, crucially, the output contract: returns the modelId to use with generate_image. This distinguishes it from list_models and generate_image without needing to open a schema.

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?

Enumerates the decision dimensions (cheapest/fastest/best quality, image/video/tool, with/without source image), effectively telling the agent the contexts in which it applies. It stops short of naming alternatives or when-not-to-use conditions, so it is clear context rather than full routing guidance.

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