Scalyr MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SCALYR_API_BASE_URL | No | API base URL. Set for DataSet EU or other regions. | https://www.scalyr.com/api |
| SCALYR_API_READ_KEY | Yes | Scalyr/DataSet API read token. |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scalyr_query_logsA | Search Scalyr/DataSet logs with automatic pagination. Returns matching log events with timestamps, messages, and parsed attributes. Recommended workflow: use scalyr_facets or scalyr_count first to understand the data volume, then use this tool with a targeted filter and small maxCount. Filter syntax examples:
Tips:
|
| scalyr_countA | Count log events matching a filter. Fast way to check data volume before querying full logs. Note: uses Scalyr's numericQuery which does text matching, so counts may be slightly higher than exact field matching. For precise counts, use scalyr_power_query. |
| scalyr_facetsA | Get the value distribution for a field across matching logs. Great first step to understand what's in your logs before querying details. Example: use field "level" to see how many ERROR vs INFO vs WARNING events exist, or "$serverHost" to see which servers are logging. |
| scalyr_power_queryA | Run a Scalyr PowerQuery expression for advanced aggregation, grouping, and filtering. Use this for analytics-style queries. Examples:
|
| scalyr_get_fileA | Retrieve a configuration file stored in Scalyr/DataSet. Common paths: '/scalyr/alerts' (alert configs), '/scalyr/searches' (saved searches). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
The set has four query-oriented tools that partially overlap (scalyr_count and scalyr_facets can both be expressed via scalyr_power_query), but the descriptions give explicit routing guidance (facets/count first to size data, query_logs for detail, power_query for analytics). scalyr_get_file is clearly distinct. Boundaries are clear enough that an agent can choose correctly.
All tools share a consistent scalyr_ prefix and mostly readable verb/noun names (scalyr_query_logs, scalyr_get_file). Minor deviations: scalyr_count and scalyr_facets are bare nouns while others are verb-based, and scalyr_power_query is noun-noun, but the pattern remains predictable.
Five tools is well within the ideal 3-15 range and each maps to a distinct mode of log investigation (raw search, counting, distribution, analytics, config retrieval). No tool feels like filler for a log-analysis server.
Core log lifecycle is covered: discovery (facets), sizing (count), retrieval (query_logs), analytics (power_query), plus config access (get_file). Minor gap: there is no tool to enumerate available fields, logfiles, saved searches, or the file tree, so agents must already know field names or paths (mitigated by examples and listed common paths).