Skip to main content
Glama
Ollama MCP Server
by ngc-shj

ollama_pull

Download a model from the Ollama library to your local Ollama instance for text generation, chat, or vision tasks. Specify a model name such as llama3.2 or mistral.

Instructions

Pull (download) a model from the Ollama library.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>"
    },
    "name": "ollama_pull"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe model to pull (e.g., 'llama3.2', 'codellama:7b', 'mistral')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not meet it. It says nothing about download size or duration, whether the call blocks or streams progress, whether re-pulling an existing model is a no-op or a re-download, or whether the Ollama server must already be running.

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?

One short sentence, front-loaded with the verb and resource, with zero filler. Nothing is wasted; the missing detail belongs in other dimensions rather than being padding that could be trimmed here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple single-parameter tool with no output schema, so the bar is low, but with zero annotations the description should at least note that the pull is required before generation/chat and what happens on repeat pulls. It is minimally adequate rather than complete.

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% and the single 'model' parameter is documented with concrete tag examples, so the description need not repeat that. The only added meaning is 'from the Ollama library', which clarifies the source registry but adds no format or naming rules beyond the schema.

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?

The description pairs a specific verb with a specific resource ('Pull (download) a model') and even disambiguates 'pull' as a download, which distinguishes it from siblings like ollama_list and ollama_show. It does not explicitly name which sibling to use instead, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus ollama_list or ollama_show, and no mention of the obvious prerequisite workflow (pull before ollama_generate/ollama_chat can use the model). The agent must infer all of this from the tool name alone.

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