Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

search_grafana_resources

Search a connected Grafana instance for dashboards and alert rules by title, then link matching resources to incidents using their UID and kind.

Instructions

Search the tenant's connected Grafana instance for dashboards and alert rules (GET /v1/integrations/grafana/search). Requires the Grafana integration to be configured. Pass each hit's uid and kind to add_grafana_related_resource to link it to an incident.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_grafana_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional text filter matched against dashboard and alert titles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose that this is a read (GET endpoint), that configuration is required, and that hits carry uid and kind fields. It omits result caps, pagination behavior, and whether the search is case-sensitive or substring-based, which matter for an agent deciding how to page or how broad to make the query.

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?

Three tight sentences: purpose first, prerequisite second, downstream action third. Every sentence earns its place and nothing is padded or restated from the schema.

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 one-optional-parameter read tool with no output schema, the description covers purpose, configuration prerequisite, the key returned fields (uid, kind), and the follow-up call. Only pagination and result-limit expectations are unaddressed, a minor gap for a tool this simple.

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?

Schema description coverage is 100% and the single `query` parameter is already documented as an optional text filter on dashboard and alert titles. The description only reinforces the target resource types and does not add syntax, matching behavior, or note that omitting `query` returns an unfiltered listing — the baseline 3 applies.

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?

Names a specific verb (Search) and a precisely scoped resource set (dashboards and alert rules in the tenant's connected Grafana instance), even citing the backing endpoint. This distinguishes it cleanly from the many sibling search_* tools (GitHub, Jira, Sentry, Zabbix, etc.) without the agent needing to open any schema.

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?

Gives an explicit prerequisite ("Requires the Grafana integration to be configured") and a concrete next step ("Pass each hit's uid and kind to add_grafana_related_resource to link it to an incident"), which routes the agent correctly into the add_* sibling. It stops short of stating when not to use it (e.g., fall back to other search tools when the integration is absent), so it is strong but not exhaustive.

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

Deploy Server

Other Tools