Skip to main content
Glama

llm_models

List, pull, or remove Ollama models: view installed models, download from registry, or delete from disk.

Instructions

Portmanteau: list, pull, or remove Ollama models (CRUD for local LLM models).

Operations:

  • list: return installed Ollama model names (and LM Studio if reachable).

  • pull: pull model from Ollama registry (requires model_name). Slow for large models.

  • remove: delete an Ollama model from disk (requires model_name).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationNolist, pull, or removelist
model_nameNorequired for pull and remove (e.g. llama3.2, codellama)
ollama_urlNoOllama API base URLhttp://localhost:11434

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv0.11.1
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior1/5

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

The description discloses that remove deletes a model from disk and pull is slow, which is valuable behavioral context. However, it directly contradicts the annotations' destructiveHint=false, since removal is inherently destructive. This inconsistency is a severe transparency failure.

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 well-structured with a one-line summary followed by a bulleted list of operations. Each sentence provides necessary information with no fluff, making it appropriately sized and front-loaded.

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?

The description covers all three operations, parameter requirements, performance implications, and the scope (Ollama and LM Studio). Given the tool's moderate complexity and the presence of an output schema, it is nearly complete, though edge cases like unreachable API URLs are not addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all three parameters (operation, model_name, ollama_url) are already described in the schema. The description adds little beyond a performance note for pull and restates the model_name requirement, which the schema already covers. Baseline 3 is appropriate.

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 as a 'Portmanteau' for list, pull, or remove Ollama models, with specific verbs (list, pull, remove) and resource (Ollama models). It enumerates operations and details each one, distinguishing it from sibling list_local_models by including pull and remove actions.

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?

The description offers operation-specific guidance (e.g., model_name required for pull/remove, pull is slow for large models) which implies when each operation should be used. However, it does not explicitly discuss alternatives, such as when to prefer sibling list_local_models for simple listing, so usage exclusions are missing.

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

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/sandraschi/blender-mcp'

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