list_models
List all available Ollama models on your local instance, so you can identify and select models for chat or generation tasks.
Instructions
List all available Ollama models
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
List all available Ollama models on your local instance, so you can identify and select models for chat or generation tasks.
List all available Ollama models
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden for behavioral disclosure. The verb 'List' implies a read-only operation, but the description does not explicitly state that it avoids side effects or what happens if no models are available.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with zero filler. It immediately identifies the action and target resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter list tool, the description is largely complete. It does not specify the return format, but the absence of an output schema and the tool's simplicity keep this from being a major gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the description fully captures the scope. No parameter explanation is needed, and the schema is empty, so the description is sufficient.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('List') with a clear resource ('all available Ollama models'), and the scope ('all') distinguishes it from sibling tools like get_model_info, which targets a single model.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as get_model_info. The description only states what the tool does but does not mention when to choose it over a sibling or any exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/m-mehdi14/ollama-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server