Skip to main content
Glama

Pick Reference Images

pick_reference_images

Generate N candidate reference images in parallel for the user to choose from BEFORE video generation. Recommended once per project when the look matters (a product, a character, a brand) and the user has not supplied their own reference image. Returns an array of {index, imageUrl} objects — show all of them to the user with their index numbers and ask which one they prefer. Pass the chosen imageUrl as reference_image_url in the subsequent generate_video call. Default count is 3, on muapi-flux-dev (2¢ each on Credits, 6¢ for 3) unless you pass modelId. The balance must cover all of them before any is made.

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

Input Schema

NameRequiredDescriptionDefault
countNoNumber of candidate images (1–5). Default 3.
promptYesVisual style/mood prompt for the reference images.
modelIdNoImage model id from list_models (kind image). Default muapi-flux-dev.muapi-flux-dev
aspectRatioNoImage shape. Default 16:9.16:9

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / aspectRatio / description
      Added value: +"Image shape. Default 16:9."
    • addedInput schema / properties / modelId / description
      Added value: +"Image model id from list_models (kind image). Default muapi-flux-dev."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: parallel generation, per-image cost (2¢ each, 6¢ for 3 on muapi-flux-dev), and the hard prerequisite that the balance must cover all candidates before any is made. It does not describe failure behavior if the balance is short, which is the only gap.

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?

It is a single dense paragraph, but the most important constraint (BEFORE video generation) is front-loaded and every sentence carries actionable information: the trigger condition, the return shape, the user-facing follow-up, the handoff to generate_video, and the cost/balance rule. Minor cost is that the cost and balance details sit at the end rather than being structured separately.

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

Completeness5/5

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

There is no output schema, but the description compensates by specifying that it returns an array of {index, imageUrl} and instructing the agent to show all of them with index numbers. Combined with the cost, default model, and downstream usage guidance, an agent has everything needed to call this correctly on a four-parameter tool.

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 100%, so the schema already documents count, prompt, modelId, and aspectRatio, making 3 the baseline. The description reinforces defaults ('Default count is 3, on muapi-flux-dev') and adds cost context tied to modelId, but it does not explain anything the schema omits, such as how prompt interacts with the chosen model or what aspectRatio does to the final video.

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?

The description opens with a specific verb and resource: 'Generate N candidate reference images in parallel for the user to choose from BEFORE video generation.' It distinguishes itself from generate_image and generate_video by framing the output as candidates for user selection, and it states the return shape ({index, imageUrl}), so an agent knows exactly what this tool produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when: 'once per project when the look matters (a product, a character, a brand),' and an explicit when-not: 'the user has not supplied their own reference image.' It also routes the agent forward, telling it to pass the chosen imageUrl as reference_image_url in the subsequent generate_video call, so the handoff between tools is unambiguous.

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.