Skip to main content
Glama

list_grafana_annotations

Read-only

List Grafana annotations (GET /api/annotations) on the tenant's connection. Optional: query (object, e.g. { from, to, tags, dashboardUID, limit }).

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": "list_grafana_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoQuery-string parameters (name → value)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / query / description
      Added value: +"Query-string parameters (name → value)"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with that by citing the GET endpoint. It adds the useful scoping detail that the call is against the tenant's connection, but says nothing about pagination, default result limits, or what the returned annotation objects contain.

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?

Two compact sentences, front-loaded with the action and endpoint, then the optional parameter with examples. Nothing is redundant and no sentence is filler.

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?

Given a one-parameter, read-only list tool with no output schema, the definition covers the action, endpoint, and the parameter's accepted keys, which is close to sufficient. It still leaves result shape, default time range, and pagination behavior undocumented, which matters for a list call returning annotations.

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?

Schema coverage is 100%, so the baseline is 3, but the schema only documents a free-form 'Query-string parameters (name → value)' object. The description earns above baseline by naming concrete accepted keys (from, to, tags, dashboardUID, limit), which is exactly the meaning an agent needs to populate a nested, untyped object.

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 gives a specific verb and resource ('List Grafana annotations') and pins it to an endpoint (GET /api/annotations) scoped to the tenant's connection, which separates it in substance from siblings like list_grafana_alert_rules or list_grafana_dashboards. It stops short of explicitly naming a sibling or stating how it differs from the generic grafana_request/query_grafana tools.

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?

There is no statement of when to use this tool versus grafana_request or query_grafana, and no exclusions or prerequisites beyond the implicit 'tenant's connection' scoping. The single sentence about the optional query is parameter information, not usage guidance, so an agent must infer the routing decision.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.