Skip to main content
Glama

ask_local_model

Send text prompts to local or cloud LLMs to generate boilerplate, summaries, or other bounded text tasks, and receive the output along with metadata.

Instructions

Send a prompt to a backend model and return text plus metadata.

Delegated models cannot read or edit files by themselves. They only return text to the main agent, which remains responsible for validation, edits, and tests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
promptYes
systemNo
backendNolmstudio
max_tokensNo
temperatureNo

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 full burden. It discloses key limitations: delegated models cannot read/edit files, only return text, and the main agent handles validation/edits/tests. However, it does not mention other behaviors like authentication or rate limits, though those may be less relevant for a local model.

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 two sentences, efficiently front-loading the core action and return value in the first sentence and adding behavioral context in the second. No unnecessary words.

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?

Despite the output schema existing, the description lacks guidance on parameter usage (e.g., prompt format, model selection, temperature tuning). It covers behavioral context but is incomplete for a tool with 6 parameters, leaving the agent to infer usage from parameter names alone.

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

Parameters2/5

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

Schema coverage is 0% (no descriptions in schema) and the description does not explain any of the 6 parameters (prompt, model, system, etc.). It adds no meaning beyond the schema's type/name information, failing to compensate for the lack of param descriptions.

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's action ('Send a prompt to a backend model') and its output ('return text plus metadata'). It also distinguishes from sibling tools (which are configuration/list tools) by focusing on actual model interaction.

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

Usage Guidelines4/5

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

The description explains that delegated models cannot read/edit files, and the main agent retains responsibility for validation/edits/tests. This provides context on when to use this tool (offloading reasoning) but does not explicitly state when not to use or name alternatives.

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/HenryLinyy/local-llm-mcp'

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