Skip to main content
Glama
lukleh

mcp-read-only-grafana

by lukleh

get_alert_rule_by_uid

Retrieve detailed information about a specific Grafana alert rule by providing its UID and connection name. Returns JSON with full rule details.

Instructions

Get detailed information about a specific alert rule.

Args: connection_name: Name of the Grafana connection alert_uid: UID of the alert rule

Returns: JSON string with alert rule details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alert_uidYes
connection_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. It only says 'Get detailed information', which implies a read-only operation, but it does not disclose permissions, side effects, error behavior, or rate limits.

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 very concise, with a clear purpose line, short parameter explanations, and a return-value note. There is no redundant or extraneous text.

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

Completeness3/5

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

For a simple lookup tool, the description provides the essential purpose, parameter meanings, and return type. However, it lacks usage guidance, behavioral transparency, and details about error cases or output structure, which are important for a fully self-sufficient description.

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 Args section gives meaningful explanation for both parameters: `connection_name` identifies the Grafana connection and `alert_uid` is the alert rule's UID. The schema only provides types and titles, so the description adds necessary semantic context.

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 a specific action, 'Get detailed information about a specific alert rule', with a unique identifier parameter (`alert_uid`). This distinguishes it from sibling list/search tools such as `list_alerts` and `get_alert_rules_with_state`.

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 explicit when-to-use guidance is provided, and there is no comparison to sibling alert-rule tools. The description implies use for retrieving one specific alert rule by UID, but it does not state when this tool is preferred over alternatives.

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

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/lukleh/mcp-read-only-grafana'

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