Skip to main content
Glama
ShadovvSinger

Ollama_MCP_Guidance

post_show_model

Retrieve comprehensive model details including family, parameters, context length, and configuration from Ollama.

Instructions

Show detailed information about a model.

This function retrieves detailed information about the specified model
through the Ollama API's /api/show endpoint.

Args:
    model (str): Model name, e.g., "llama2" or "mistral"

Returns:
    str: JSON-formatted model information including:
        - Basic info (family, parameter size, quantization)
        - Technical parameters (context length, layer count)
        - Configuration (template, system prompt)
        - License and modelfile content
        If the request fails, returns error information in JSON format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It explains the API endpoint, return format (JSON with specific fields), and error behavior ('fails, returns error information'). It does not cover authentication or rate limits but is adequate for a read-only operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with Args and Returns sections. It is front-loaded with the purpose. However, the first sentence slightly restates the title ('Show detailed information about a model'). It is concise but not overly terse.

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?

Given one parameter, no annotations, and the presence of an output schema (implied by return description), the description covers the return format well. It lacks prerequisites (e.g., Ollama must be running) but is largely complete for a simple retrieval tool.

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?

The schema has 0% description coverage, so the description must add value. It explains that the 'model' parameter is a model name with examples ('llama2', 'mistral'), but lacks deeper semantics like format constraints, validation, or list of valid values.

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 verb ('retrieves detailed information') and the resource ('model'), and specifically mentions the API endpoint '/api/show'. It distinguishes from sibling tools like get_ollama_list (which lists models) and simple_chat (which generates responses).

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 implies usage when needing detailed model info but provides no explicit guidance on when to use vs. alternatives like get_ollama_list or when not to use. Sibling tool names suggest alternatives, but no comparisons or exclusions are mentioned.

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/ShadovvSinger/Ollama_MCP_Guidance'

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