Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLAMA_BASE_URLNollama.cpp server URLhttp://localhost:8080
LLAMA_MODEL_NAMENoModel identifierlocal-model
LLAMA_REQUEST_TIMEOUTNoTimeout in seconds120
LLAMA_DEFAULT_MAX_TOKENSNoDefault token budget131072
LLAMA_DEFAULT_TEMPERATURENoDefault sampling temperature (string 'None' for server default)None

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
implement_codeA

Generate implementation code from a specification.

Use this tool when you need the local model to write a function, class, module, API endpoint, CRUD logic, glue code, or any other implementation artefact. Provide as much context and constraints as possible for the best results.

IMPORTANT: Always review the returned code before accepting it.

generate_testsA

Generate test code for a given implementation.

Produces a complete, runnable test file that covers happy paths and edge cases. Specify the testing framework and any particular scenarios you want covered.

IMPORTANT: Always review the returned tests before accepting them.

refactor_codeA

Apply a specific refactoring to existing code.

The local model will apply the requested transformation while preserving external API and behavior. Useful for mechanical refactors like renaming, extracting methods, converting patterns, etc.

IMPORTANT: Always review the returned code before accepting it.

fix_codeA

Fix bugs in code based on errors or review feedback.

Provide the broken code along with compiler/runtime errors and/or reviewer comments. The local model will return a corrected version that addresses all reported issues.

IMPORTANT: Always review the returned fix before accepting it.

generate_docsA

Generate documentation for existing code.

Produces documentation in the requested style — inline docstrings, README content, or structured API reference.

IMPORTANT: Always review the returned documentation for accuracy.

check_local_model_healthA

Check if the local llama.cpp server is reachable and loaded.

Returns availability status and model metadata. Call this before starting a batch of implementation tasks, or when a previous tool call failed with a connection error, to decide whether to retry or fall back to direct cloud-model implementation.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/shreyashp77/Llama-Bridge'

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