Skip to main content
Glama

Search incidents by symptoms

search_incidents
Read-onlyIdempotent

Use first, whenever someone describes a failure they are seeing. Pass the symptoms as a sentence or a few words, in English or Korean; returns the reviewed public post-incident reports that answer it, best match first: the search ranks every case and keeps only those judged relevant to the sentence, usually a handful, and none when the library has no such incident (total 0). total is how many, results is one page of them in full (each with the case id, the page url and the source link), matched is every one as a row, and next_cursor fetches the next page. interpreted lists the values the sentence named (the search moves cases carrying them up) and any organisation it named (a filter to choose, not a ranking signal); facets count the results by root cause, component, symptom, contributing factor and organisation with the case ids, which answers 'what usually caused this' from the same call. The optional slug filters keep only cases carrying those values (AND); take slugs from facets, interpreted or vocab. Follow with get_incident for the full case.

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_incidents"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgNoKeep only cases of this organisation, by slug, e.g. github (from facets.orgs, interpreted or vocab)
langNoko returns the Korean text of each field where the reviewers wrote oneen
limitNoCases per page
cursorNonext_cursor from the previous page
domainNoKeep only cases in this domain, e.g. kubernetes or ai-infra
factorNoKeep only cases with this contributing factor slug, e.g. no-alerting
symptomNoKeep only cases with this symptom slug, e.g. pod-pending
symptomsNoWhat is observed, as a sentence or a few words, e.g. 'pods cannot get an IP, nodes show no available addresses' or 'coredns oom'. Leave it out to list every case under the slug filters, newest first; then at least one filter is required
componentNoKeep only cases with this component slug, e.g. coredns
root_causeNoKeep only cases with this root cause slug, e.g. capacity

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive search, and the description adds substantial behavioral context: relevance filtering, zero-result behavior, pagination via next_cursor, ranking versus filtering for interpreted values, and facet counts that answer root-cause questions.

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?

The critical usage instruction is front-loaded, and the dense single paragraph earns most of its space by covering search behavior, return fields, filters, and follow-up. It could be more scannable, but the complexity justifies the length.

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

Completeness5/5

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

With 10 optional parameters and no output schema, the description does the necessary work: it explains ranking, relevance cutoffs, total/results/matched/next_cursor, interpreted values, facets, slug filters, and the follow-up tool. Nothing essential for correct invocation appears missing.

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 description adds cross-parameter meaning: the slug filters combine with AND, slugs come from facets/interpreted/vocab, symptoms may be in English or Korean, and omitting symptoms requires at least one filter. Most individual parameter details are already in the schema, so this is not a full 5.

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?

States a specific verb and resource—searching incidents by symptom description—and clearly distinguishes the result set as reviewed public post-incident reports judged relevant to the query. It also names the natural follow-up, get_incident, so an agent can route correctly without opening other schemas.

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

Usage Guidelines5/5

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

Gives an explicit trigger: use first whenever someone describes a failure they are seeing. It also explains the alternate no-symptoms mode for listing under slug filters and directs the agent to get_incident for the full case, covering both usage and follow-up.

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.