Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

run_incident_query

Execute read-only incident analytics queries using a DSL and return only incidents the caller can access, with optional drill incidents included.

Instructions

Run an incident analytics query. Read-only. Results only include incidents the caller may access. Call get_incident_query_schema for the language.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dsl": "<dsl>"
    },
    "name": "run_incident_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
dslYesAnalytics query
includeDrillsNoInclude drill (exercise) incidents

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior1/5

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

The description asserts "Read-only" while the annotations declare readOnlyHint=false, so the two structured sources disagree about whether the tool mutates state. The only other behavioral detail offered is result-set access scoping, which does not resolve the conflict.

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

Conciseness4/5

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

Four short sentences with the action front-loaded and zero filler; every clause is doing work except the contradictory "Read-only" claim. Structure is efficient, but that one misleading sentence costs it a top score.

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 two-parameter tool with no output schema, the description covers access scoping and the schema prerequisite but says nothing about result shape, limits, or pagination, and it misstates the mutation profile. It is adequate to call the tool correctly only if the agent trusts the annotations over the prose.

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%, so both dsl and includeDrills are already documented in the schema and the baseline of 3 applies. The description adds only a pointer to the schema tool for query syntax and says nothing about the includeDrills flag or what a valid query string looks like.

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 states a specific verb and resource ("Run an incident analytics query") and points at the sibling that documents the query language, so an agent can tell it apart from get_incident_query_schema. It does not differentiate this from other incident-reading tools such as get_incident, leaving the boundary implicit.

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?

"Call get_incident_query_schema for the language" is an explicit prerequisite that tells the agent what to do before invoking, and the access-scoping sentence sets expectations on the result set. There is no statement of when to prefer this over direct incident-fetch tools, so it stops short of full when/when-not guidance.

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