Skip to main content
Glama

get_model_info

Read-only

Retrieve the loaded image model's name, default parameters, supported aspect ratios, VRAM estimate, and prompt guidance before generating images to choose model-specific settings.

Instructions

Get information about the currently loaded model, its recommended parameters, and prompt writing guidance.

IMPORTANT: Call this before your first image generation to get model-specific prompt_guidance. Different models (FLUX vs Qwen) require very different prompting strategies.

Returns the model name, type, default parameters, supported aspect ratios, VRAM estimate, and detailed prompt_guidance with rules and examples.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile needs no restatement, and the description adds the operationally critical behavior that output varies by loaded model and must be consulted prior to generation. It does not discuss whether the model can change between calls or caching, which would be the remaining useful detail for a read-only lookup.

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-loaded purpose sentence, then a capitalized imperative, then a return summary — good structure with no filler. The final enumeration of return fields partially duplicates the existing output schema, so one sentence could be trimmed, but it is not verbose.

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?

Zero parameters, an output schema that documents the return shape, and readOnlyHint covering side effects — the description only needs to supply the calling imperative and model-varies-by-backend context, which it does. Nothing an agent needs to invoke this correctly is missing.

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 no parameter semantics to convey and the baseline of 4 applies. The description correctly spends its space on return contents instead of inventing parameter guidance.

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+resource ('Get information about the currently loaded model') and enumerates the three payloads: recommended parameters, prompt writing guidance, and model metadata. None of the sibling tools (generate_image, batch_generate, list_presets, server_health) share this purpose, so the agent can route here unambiguously.

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 states the trigger explicitly and with emphasis: 'Call this before your first image generation to get model-specific prompt_guidance.' The word 'first' implicitly scopes repeated calls, and the reason (FLUX vs Qwen prompting differ) justifies the instruction rather than merely asserting it.

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