Skip to main content
Glama

list_presets

Read-only

Retrieve supported aspect ratios, pixel dimensions, resolution constraints, and max megapixels for the current model to choose valid image sizes.

Instructions

List available resolution presets and aspect ratios for the current model.

Returns all supported aspect ratios with their pixel dimensions, resolution constraints, and max megapixels.

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": "list_presets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read with no side effects, and the description adds that results depend on the currently selected model and cover pixel dimensions, constraints, and max megapixels. It does not say how the active model is determined or what happens if none is set, so added behavior beyond annotations is modest.

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?

Two short sentences, front-loaded with the core action and with no filler. The second sentence partly restates return contents that the output schema already covers, which keeps it just short of ideal.

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?

A zero-parameter read tool with an output schema and readOnlyHint needs little more; the description covers purpose and the shape of results. The only real gap is not explaining what 'current model' refers to or how it is selected.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The 'current model' phrasing usefully signals that the result set is server-state dependent rather than argument driven.

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?

A specific verb ('List') plus resource ('resolution presets and aspect ratios') scoped to 'the current model', with a follow-up sentence naming the returned fields. It is clearly not a generation or batch tool, though it never names a sibling such as get_model_info that might also carry model metadata.

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?

Usage is only implied: an agent can infer this is the discovery step before generate_image or batch_generate to find valid aspect ratios. There is no explicit when-to-use, when-not-to-use, or named alternative.

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