Skip to main content
Glama

Recommend generation models

recommend_models
Read-only

Find up to three published models for a task and media constraints, or evaluate a requested model. Confirm the pick with prepare_generation before paid generation.

Instructions

Find up to three published models for a task and relevant media constraints. If a model is explicitly requested, evaluate only that model. Confirm a recommendation with prepare_generation before spending.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "recommend_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNo
queryNo
modelIdNo
durationNo
resolutionNo
aspectRatioNo
generateAudioNo
referenceAudiosNo
referenceImagesNo
referenceVideosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, closed-world, non-destructive, so the safety profile is covered. The description adds useful behavior the annotations cannot: the result is capped at three models and is a recommendation to be validated downstream. It says nothing about how constraints narrow candidates or what happens when none match.

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 short sentences, each with a distinct job: what it returns, the single-model exception, and the follow-up step. The result cap is front-loaded and nothing is redundant.

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

Completeness3/5

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

The workflow framing (recommend, then prepare_generation) and the result-count cap compensate for the missing output schema. However, a ten-parameter tool with zero schema descriptions leaves an agent unable to know how most inputs constrain the recommendation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across ten parameters, so the description must carry the load and it does not. It gestures at 'task', an explicitly requested model, and 'media constraints', but duration, resolution, aspectRatio, generateAudio, and the three reference-count parameters are given no meaning anywhere.

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?

States a specific verb and resource ('Find up to three published models') plus the scope of what is returned (a recommendation with relevant media constraints). It is clearly a recommender rather than a raw enumerator, though it never names list_models or get_model_params to sharpen the distinction.

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?

Gives two concrete operating conditions: when a modelId is supplied, evaluate only that model; and confirm the recommendation with prepare_generation before spending. That is real routing guidance, but it does not say when to prefer this over a plain catalog listing.

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