Skip to main content
Glama
snickery

loki-tail-mcp

by snickery

loki_log_volume

Rank containers by log volume to identify which service suddenly got noisy. Filter by container or analyze the whole fleet.

Instructions

Rank containers by log volume (bytes) — "which service suddenly got noisy". Leave container empty to rank the whole fleet; set it to scope to one container.

minutes: window to measure. Default 60. limit: max rows. Default 10.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
minutesNo
containerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the core behavior (ranking by bytes), the time window, the row limit, and the container scoping behavior. It doesn't mention anything contradictory, though it omits details like read-only nature or aggregation semantics, which are likely implied for a ranker.

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?

The description is extremely concise, front-loaded with the primary action, and includes a compact parameter dictionary. Every sentence adds value, and there is no redundant filler.

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

Completeness5/5

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

For a simple tool with 3 optional parameters and an output schema, the description covers all necessary aspects: what it does, how to use parameters, and the use case. Nothing essential is missing.

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

Parameters5/5

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

Schema descriptions are absent (0% coverage), but the description fully compensates by explaining all three parameters: container scope, minutes as the measurement window, and limit as max rows, including defaults. This adds meaning beyond the raw schema.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Rank containers by log volume (bytes)' and provides a concrete use case ('which service suddenly got noisy'). It distinguishes itself from sibling tools like query/range or tail by focusing on volume ranking.

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

Usage Guidelines4/5

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

The description gives clear guidance on when to use the tool and how to adjust scope: 'Leave container empty to rank the whole fleet; set it to scope to one container.' It doesn't explicitly mention alternatives or when not to use, but the use case is clear.

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

Install Server

Other Tools

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/snickery/loki-tail-mcp'

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