Skip to main content
Glama

get_parameters

Get exact, community-tested generation parameters for a given model and task type, skipping the wasteful trial-and-error phase.

Instructions

Get the EXACT parameters that produce good output for this model + task type. Skips the 'tweak until it works' phase that wastes 20-50 paid generations. Community-tested configs (portrait / landscape / product-photo / cinematic-video / lo-fi-music / etc) — not the model's stale official defaults. Use whenever you're about to call model.generate(...) without explicit parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel slug to fetch parameters for.
task_typeNoWhat the user is generating — e.g. 'portrait', 'landscape', 'product-photo', 'cinematic-video', 'instrumental-music'. Drives which preset is returned.
Behavior4/5

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

Without annotations, the description carries the full burden. It explains that the tool uses community-tested configs, skips tweaking, and lists example task types. It doesn't detail error handling or output format, but the behavioral intent is well communicated.

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?

The description is three sentences, front-loaded with the primary action, and every sentence contributes necessary context. No redundant or filler content.

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 simple 2-parameter tool with no output schema, the description covers purpose, usage timing, and what the tool offers. It could mention whether multiple parameters are returned or just one config, but overall it's adequate.

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 baseline is 3. The description adds value by explaining that 'task_type' drives the preset returned and provides concrete examples, enhancing understanding beyond the schema's minimal descriptions.

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 clearly states the tool retrieves optimal parameters for a model and task type, using a specific verb ('Get') and resource ('parameters'). It distinguishes itself from sibling tools like get_model_profile or compare_models by focusing on generation parameters.

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?

The description explicitly advises using this tool before calling model.generate() without explicit parameters. It does not list when not to use it, but the context is clear enough for an AI agent to decide.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/promptibus/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server