Skip to main content
Glama
m-mehdi14

Ollama MCP Server

by m-mehdi14

generate

Generate text from a prompt using any installed Ollama model. Specify model, prompt, and optional system instructions to get AI-written responses.

Instructions

Generate text using an Ollama model

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesThe name of the model to use
promptYesThe prompt to generate from
streamNoWhether to stream the response
systemNoOptional system prompt
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'Generate text using an Ollama model,' which reveals no behavioral traits such as streaming support, whether output is deterministic, or whether it requires model availability. The schema hints at stream and system parameters, but the description does not explain their effect or any side effects.

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 a single sentence, front-loaded with the action and resource. It wastes no words and is easy to scan. While it may be too brief in other dimensions, as a concise statement it is exemplary.

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

Completeness2/5

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

For a tool with 4 parameters and no output schema, the description lacks important context: no mention of what the response looks like, no usage guidance relative to siblings, and no note on prerequisites. The schema covers parameters, but overall operational context is missing.

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 description coverage is 100% (all four parameters have descriptions), so the schema already documents parameters thoroughly. The description adds no additional parameter-level meaning beyond the schema, aligning with the baseline score of 3 for full schema coverage.

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 states a clear verb ('Generate') and resource ('text using an Ollama model'), but it does not distinguish itself from the sibling 'chat' tool, which also generates text. It is specific enough for basic understanding but lacks differentiation.

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?

No guidance is provided on when to use this tool versus alternatives like 'chat'. There is no mention of prerequisites, such as whether the model must already be pulled, or contextual use cases. The description gives no indication of when one option would be preferred over another.

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

Install Server

Other Tools

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/m-mehdi14/ollama-mcp-server'

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