Skip to main content
Glama
igorolv

loki-mcp-server

listConnections

listConnections
Read-onlyIdempotent

Lists configured Loki connections with names, descriptions, operator hints, and effective limits; choose one and pass its name as 'connection' to other tools.

Instructions

List configured Loki stands with each name, description, operator hint and effective tool limits. Call this first, use the shown windows and page limit, and pass the chosen name as 'connection' to every other tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavioral value by framing the tool as a bootstrap/discovery step that governs how other tools are invoked, though it does not discuss caching or refresh behavior.

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?

A single dense sentence: the action and return shape come first, followed by the workflow instruction. No filler, and the sequencing guidance is front-loaded with 'Call this first'.

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?

There is no output schema, but the description enumerates the returned fields and explains how the result feeds downstream calls. For a zero-parameter discovery tool with full annotation coverage, nothing an agent needs to invoke it correctly is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-parameter tool is 4. The description correctly implies no arguments are needed before the discovery call.

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?

States a specific verb (List) plus resource (configured Loki stands) and even enumerates the returned fields (name, description, operator hint, effective tool limits). This is clearly distinguishable from siblings like queryLogs/countLogs/exportLogs, which operate on log data rather than connection configuration.

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

Usage Guidelines5/5

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

Explicitly says 'Call this first', explains how to consume the output (use the shown windows and page limit), and instructs the agent to pass the chosen name as 'connection' to every other tool. This is a complete when/when-not/alternatives directive.

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