Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PREFETCH_MUTATION_DEBOUNCE_MSNoThe debounce window in milliseconds for grouping rapid file changes before starting predicted work. Set to '0' to disable grouping. Defaults to 50.50

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
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_fileA

Read a UTF-8 text file from the workspace with 1-based line numbers. Use this instead of another file-read tool when available: ToolAhead may return an exact prefetched result. Supports offset and limit for large files.

searchA

Search workspace file contents with a regular expression and return path:line:content matches. Use this instead of another grep/search tool when available: ToolAhead may return an exact prefetched result.

list_filesA

Find workspace files whose project-relative paths match a glob pattern. Use this instead of another glob/file-listing tool when available: ToolAhead may return an exact prefetched result.

edit_fileA

Replace an exact string in a workspace text file. Use this ToolAhead edit after ToolAhead read_file; it follows the familiar file_path, old_string, new_string, and replace_all contract. Edits execute normally and are never prefetched, cached, or replayed.

write_fileA

Create or overwrite a UTF-8 workspace file using the familiar file_path and content contract. Writes execute normally and are never prefetched, cached, or replayed.

runA

Run an exact deterministic test, build, or lint command that is listed in .prefetch-replay.json. ToolAhead may replay an identical prefetched result. Commands declared under [commands] in toolahead.toml also run here: their required services are started and health-checked first (never replayed). Use the agent's native shell for commands that are neither.

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/michael-ra/toolahead'

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