Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TOOL_ROOTNoWorkspace the tools are confined to. Defaults to the current directory.
MCP_TOOL_SQL_TIMEOUTNoSeconds a single SQLite query may run.5
MCP_TOOL_HTTP_TIMEOUTNoSeconds per HTTP request.10
MCP_TOOL_ALLOWED_HOSTSNoComma-separated list of hosts fetch_url may contact. example.com is exact, *.example.com matches subdomains, and * allows any host. Empty disables outbound HTTP.
MCP_TOOL_MAX_READ_BYTESNoLarger files are refused by read_file/query_records and skipped by search_files.2000000
MCP_TOOL_MAX_FETCH_BYTESNoResponse bodies are truncated beyond this byte limit.1000000

Instructions

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

Tools for working inside a sandboxed workspace directory. All paths are relative to the workspace root. Start with list_files or search_files to orient yourself, use read_file with start_line/max_lines for large files, and prefer query_records over read_file for CSV/JSON/JSONL data. Read the config://server resource to see limits and which hosts fetch_url may contact.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_filesB

List files and directories in the workspace with their type and size.

read_fileA

Read a UTF-8 text file, optionally a window of lines.

    The result reports total_lines and whether the file was truncated, so
    large files can be paged through by advancing start_line.
    
search_filesA

Search text files in the workspace line by line, like grep.

Hidden directories and binary files are skipped.

query_recordsA

Filter, sort, group and summarise records in a tabular data file.

    Useful for evaluation outputs such as results.jsonl: e.g. filter
    passed == false, group_by task category, or get the mean of a score.
    Booleans average as 0/1, so stats_field on a pass/fail flag gives the
    pass rate.
    
calculateA

Evaluate an arithmetic expression safely (no code execution).

fetch_urlA

Fetch a URL with HTTP GET and return the status, headers and text body.

Only hosts on the server's allowlist can be reached, including for redirects. Binary bodies are not returned, only their size.

sqlite_queryB

Run a read-only SQL query against a SQLite database in the workspace.

git_infoB

Summarise a git repo: branch, HEAD, uncommitted changes, remotes, recent commits.

Prompts

Interactive templates invoked by user choice

NameDescription
review_fileAsk the model to review a workspace file for bugs and clarity.
analyze_eval_resultsAsk the model to summarise an agent evaluation run stored as a data file.

Resources

Contextual data attached and managed by the client

NameDescription
server-configWorkspace root, limits and HTTP allowlist the tools are running with.
workspace-treeIndented listing of the workspace, two levels deep, hidden entries excluded.

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have clearly distinct targets: list_files/read_file/search_files operate on workspace text, fetch_url on HTTP, git_info on repos. The only real boundary risk is query_records vs sqlite_query, both being 'query data' tools, but their descriptions clearly separate tabular files (jsonl/csv) from SQLite databases. Minor overlap keeps this from a perfect score.

Naming Consistency4/5

Five tools follow a clean verb_noun pattern (list_files, read_file, search_files, query_records, fetch_url). The deviations are mild and still readable: calculate is a bare verb, and sqlite_query/git_info are noun-first. No camelCase/snake_case mixing.

Tool Count5/5

Eight tools is well within the sweet spot and each covers a distinct capability: file listing/reading/search, structured data querying, arithmetic, HTTP fetch, SQLite access, and git status. Nothing feels padded or redundant.

Completeness3/5

The surface is heavily read-only: there is no write_file/create_file, no delete or move/rename, so an agent cannot produce or modify workspace content, which is an obvious gap for a workspace-oriented server. Read, search, query, fetch and git inspection are otherwise well covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues