Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_LOG_FILENoOptional path to a log file for MCP server logs
MCP_LOG_LEVELNoLogging level for the MCP server (e.g., INFO, DEBUG, WARNING, ERROR)INFO
LOG_DIRECTORIESNoJSON array of directories containing log files to analyze (e.g., '["/path/to/your/app/logs"]')
PYTHONIOENCODINGNoSet Python I/O encodingutf-8
PYTHONUNBUFFEREDNoSet to '1' to ensure Python output is not buffered1
LOG_PATTERNS_ERRORNoJSON array of regex patterns to identify error log entries (e.g., '["Exception:.*"]')
LOG_CONTEXT_LINES_AFTERNoNumber of lines to include after a matched log entry for context
LOG_CONTEXT_LINES_BEFORENoNumber of lines to include before a matched log entry for context

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_testsC

Analyze the most recent test run and provide detailed information about failures.

Args: summary_only: Whether to return only a summary of the test results

run_tests_no_verbosityA

Run all tests with minimal output (verbosity level 0).

run_tests_verboseB

Run all tests with verbose output (verbosity level 1).

run_tests_very_verboseB

Run all tests with very verbose output (verbosity level 2).

pingA

Check if the MCP server is alive.

create_coverage_reportC

Run the coverage report script and generate HTML and XML reports.

Args: force_rebuild: Whether to force rebuilding the report even if it exists

Returns: Dictionary containing execution results and report paths

run_unit_testA

Run tests for a specific agent only.

This tool runs tests that match the agent's patterns including both main agent tests and healthcheck tests, significantly reducing test execution time compared to running all tests. Use this tool when you need to focus on testing a specific agent component.

Args: agent: The agent to run tests for (e.g., 'qa_agent', 'backlog_agent') verbosity: Verbosity level (0=minimal, 1=normal, 2=detailed), default is 1

Returns: Dictionary containing test results and analysis

search_log_all_recordsC

Search for all log records, optionally filtering by scope and content patterns, with context.

search_log_time_basedC

Search logs within a time window, optionally filtering, with context.

search_log_first_n_recordsC

Search for the first N (oldest) records, optionally filtering, with context.

search_log_last_n_recordsC

Search for the last N (newest) records, optionally filtering, with context.

get_server_env_detailsA

Returns sys.path and sys.executable from the running MCP server.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 12 tools

Disambiguation3/5

The tools have clear distinctions in some areas, like different search methods (time-based, first/last N records) and test verbosity levels. However, there is significant overlap between 'analyze_tests' and the 'run_tests_*' tools, as they all relate to test execution and analysis, which could cause confusion about when to use each. The 'ping' and 'get_server_env_details' tools are distinct but minor compared to the core testing/log analysis focus.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (e.g., 'analyze_tests', 'create_coverage_report', 'search_log_all_records'), which is clear and predictable. There are minor deviations, such as 'run_tests_no_verbosity' using 'no_verbosity' instead of a more standard modifier like 'minimal', but overall the naming is coherent and easy to understand.

Tool Count4/5

With 12 tools, the count is reasonable for a log analyzer and test runner server, covering key operations like test execution, log searching, and system checks. It's slightly on the higher side but well-scoped, as each tool serves a specific purpose without obvious bloat. The tools are focused on the domain, making the count appropriate for the server's purpose.

Completeness3/5

The tool set covers core areas like test running (with various verbosity levels and targeted runs), log searching (with multiple methods), and basic server checks. However, there are notable gaps: for a 'Log Analyzer', there's no tool for aggregating or summarizing logs, and for test analysis, there's no tool for updating or deleting test results. This limits the lifecycle coverage and may require workarounds for full agent workflows.