Skip to main content
Glama

list_models

Read-only

Lists local image-generation models with capabilities, defaults, and availability so you can choose only usable models and see missing files to download.

Instructions

List the local image models, their capabilities, defaults and availability.

    Use a model only when available is true. missing_files names the exact files to
    download with `local-image models pull <id>`.
    

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_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
modelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world, so the bar is lower; the description adds meaningful context by marking the models as local and explaining the availability flag and missing_files remediation via `local-image models pull <id>`. It does not discuss response size or enumeration cost, but for a no-argument local listing that is minor.

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, front-loaded with the purpose and followed by the two facts an agent needs (availability gate, download path). Nothing is redundant.

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?

With an output schema present the description is not obliged to document return values, yet it still surfaces the two fields that drive downstream decisions (available, missing_files). Complete for a discovery tool of this simplicity.

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?

Zero parameters, so the baseline is 4. The description correctly spends no words on inputs and instead explains result fields, which is the right allocation of effort here.

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?

Specific verb plus resource: 'List the local image models', and it further scopes the payload to capabilities, defaults and availability. That clearly separates it from the action-oriented siblings (generate_image, get_job_*), though it never names a sibling explicitly.

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?

'Use a model only when available is true' gives a concrete gating condition, and the pull-command hint tells the agent what to do when a model is not usable. It stops short of stating the workflow outright (e.g. 'call this before generate_image'), so the sequencing is implied rather than spelled out.

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