Skip to main content
Glama
Scalyr MCP Server

Scalyr MCP Server

by celos101

scalyr_get_file

Read-only

Retrieve a configuration file stored in Scalyr/DataSet by path, such as alert configs or saved searches, to inspect and manage log management settings.

Instructions

Retrieve a configuration file stored in Scalyr/DataSet. Common paths: '/scalyr/alerts' (alert configs), '/scalyr/searches' (saved searches).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "scalyr_get_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path in Scalyr, e.g. '/scalyr/alerts'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that the target is a stored configuration file rather than log data, but says nothing about error behavior for invalid paths or the format of the returned content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and followed by concrete path examples; no filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-required-parameter read-only tool with full schema coverage and annotations, the definition covers what an agent needs to pick a path and call it. The only minor gap is whether the return value is raw file text or parsed configuration.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already gives a path example, but the description goes beyond it by explaining what specific paths contain ('/scalyr/alerts' = alert configs, '/scalyr/searches' = saved searches), which meaningfully guides path selection.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Retrieve a configuration file stored in Scalyr/DataSet.' The resource (config file) is clearly distinct from the sibling query/count/facets tools, though the description never names or contrasts them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Common paths' examples imply usage (fetch alert configs or saved searches), but there is no explicit when-to-use vs. when-not, no prerequisites, and no named alternative for reading the same data through query tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.