Skip to main content
Glama

chat_local

Conduct multi-turn conversations with a local Ollama model for complex tasks that require extended context, reducing cloud LLM costs.

Instructions

Multi-turn chat against a local Ollama model.

Use when the handoff needs more than one turn of context. messages is a list of {"role": "user"|"assistant"|"system", "content": str}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYes
modelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries full burden. It explains the message format but omits key behavioral details such as state persistence, session management, or limitations like context window size.

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?

Two concise sentences, each serving a distinct purpose: purpose and usage/parameter format. No unnecessary words.

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?

Given the tool involves multi-turn chat, critical details about conversation state (e.g., whether context persists across calls) are missing. An output schema exists but does not fully compensate for this lack of behavioral context.

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 0%, so the description adds value for the messages parameter by specifying the structure. However, the model parameter is not described, leaving a gap.

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 it is for multi-turn chat against a local Ollama model, distinguishing it from single-turn or summarization siblings.

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

Usage Guidelines5/5

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

Explicitly says 'Use when the handoff needs more than one turn of context', providing clear guidance on when to use this tool over alternatives like ask_local.

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/Michael-WhiteCapData/ollama-handoff'

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