Skip to main content
Glama
mrrodriguez

local-llm-delegation-mcp

by mrrodriguez

query_local_llm_with_context

Delegate low-complexity coding tasks such as code reviews, documentation, and refactoring to a local LLM with added context, cutting token costs.

Instructions

Query the local LLM for simple subtasks that require additional context. Use this for code reviews, documentation, or refactoring.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
promptYes
contextYes
task_typeNogeneral
system_messageNo

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 must disclose behavioral traits such as read-only safety, resource consumption, or error behavior. It only mentions purpose and examples, omitting any limitations, side effects, or operational caveats.

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 with a front-loaded purpose and immediately useful examples. There is no filler or unnecessary repetition.

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 5-parameter tool with no annotations and 0% parameter coverage, the description is too minimal. It fails to explain how to use the extra parameters or what to expect behaviorally, even though an output schema exists. The agent lacks critical context for proper invocation.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate by explaining parameters. It does not mention prompt, model, task_type, or system_message, and only implies 'context' without defining it. This is a significant 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 the tool queries the local LLM for subtasks requiring additional context, and names specific use cases (code reviews, documentation, refactoring). The 'with_context' name and the phrase 'require additional context' distinguish it from siblings like query_local_llm.

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?

It explicitly says 'Use this for code reviews, documentation, or refactoring' and ties it to the condition of requiring context. However, it does not explicitly name alternatives or state when not to use this tool.

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

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