Skip to main content
Glama

label_values

Destructive

Retrieve available values for a specific label within Loki log data to filter and analyze logs effectively.

Instructions

List values for a specific label name in Loki

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd of time range (RFC3339 or Unix nanoseconds). Defaults to now
labelYesLabel name to retrieve values for
startNoStart of time range (RFC3339 or Unix nanoseconds). Defaults to 6 hours ago
Behavior1/5

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

The description claims 'List values' which implies a read-only operation, but annotations declare readOnlyHint=false and destructiveHint=true. This is a direct contradiction that could lead to catastrophic misuse by an agent believing this is a safe query when it actually performs destructive operations.

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

Conciseness3/5

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

Single sentence is appropriately brief, but given the destructive annotations and operational complexity, the description is under-sized rather than elegantly concise. Critical safety information is omitted, making the brevity inappropriate.

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

Completeness2/5

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

Despite having destructive annotations and three parameters (including time ranges), the description provides no output schema hints, no explanation of the destructive nature, and no guidance on the Loki query patterns. The contradiction with annotations further erodes completeness.

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

Parameters3/5

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

With 100% schema description coverage, the structured documentation carries the full parameter semantics. The description mentions 'specific label name' which aligns with the required 'label' parameter, but adds no format details, validation rules, or time range behavior beyond the schema.

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?

The description provides a clear verb ('List') and resource ('values for a specific label name in Loki'), specifying the domain. However, it does not explicitly differentiate from sibling tool 'labels' (which likely lists label names rather than values), which could cause selection ambiguity.

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

Usage Guidelines2/5

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

No guidance provided on when to use this tool versus alternatives like 'query' or 'labels'. No mention of prerequisites such as requiring the label name to exist, or when the time range parameters are necessary versus optional.

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/incu6us/loki-mcp-server'

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