Skip to main content
Glama

refine_with_local_llm

Send a short prompt to a local Ollama model to expand it into a detailed prompt for generating navigable 3D worlds with Marble.

Instructions

Refine a world prompt using a local Ollama model.

Sends a short prompt to Ollama for expansion into a detailed, Marble-optimised 3D world generation prompt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe short prompt to refine.
styleNoVisual style hint (e.g. Cinematic, Fantasy, Photorealistic).Cinematic
modelNoOllama model name (default: llama3.2:3b).llama3.2:3b

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the core behavior (sending to Ollama for expansion) but omits details like requirements (Ollama must be running), error handling, or whether the operation is idempotent. The description adds context about Marble-optimization but lacks deeper transparency.

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 sentences with no waste: first states the purpose, second elaborates on the action and output. Front-loaded and efficient.

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?

The tool has an output schema, so return values are covered. The description is sufficient for a simple refinement tool, but it could note prerequisites (e.g., Ollama running locally). Given sibling tools, its role is clear.

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 100%, so the description need not add param info; baseline is 3. The description does not provide additional meaning beyond the schema—'short prompt' is already in the prompt parameter description.

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 ('Refine'), the resource ('a world prompt'), and the method ('using a local Ollama model'). It also specifies the output is a 'Marble-optimised 3D world generation prompt', distinguishing it from sibling tools that generate worlds directly.

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 for refining a prompt before world generation, but it does not explicitly state when to use this tool versus alternatives (e.g., generate_world_from_text). No when-not-to-use or alternative guidance is provided.

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/sandraschi/worldlabs-mcp'

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