Skip to main content
Glama

get_crashes

Read-onlyIdempotent

Lists programs that crashed on a core-dumping signal, newest first, with signal details, core status, and optional program filtering to diagnose repeated closings. Read-only.

Instructions

Lists what crashed, from systemd-coredump: every program that stopped on a signal that leaves a core (a segmentation fault, an abort), newest first, with the signal in words and whether its core is still kept, and a summary by program. Filter by program. Use it when a program keeps closing; get_boot_history says how each session ended. It only reads.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many, newest first (1 to 200, default 30).
programNoOnly this program's: part of its name, any case (say "chrome").
serious_onlyNoOnly what went away: crashes, hangs that ended a program, driver resets and stop errors; not stalls or leak warnings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'It only reads' merely restates them. The description does add value beyond that: the underlying data source (systemd-coredump), newest-first ordering, that signals are rendered in words, and whether the core file is retained.

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 main sentence is long but front-loaded with the resource and the inclusion rule, and the follow-up sentences are short and purposeful. Slightly run-on, but no sentence is filler.

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?

No output schema exists, and the description compensates by sketching the return shape: crash entries with signal names and core-retention status, plus a per-program summary. Combined with the full schema coverage and read-only annotations, little material information is missing.

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 coverage is 100%, so limit and serious_only are fully documented in the schema itself. The description only echoes the program filter ('Filter by program') without adding syntax or interaction detail, which matches the baseline for a fully-described schema.

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 and resource ('Lists what crashed, from systemd-coredump'), defines the exact inclusion criterion (programs stopped by a core-dumping signal such as segfault or abort), and states ordering and aggregation. The agent can distinguish this from sibling diagnostics tools without opening the 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 trigger — 'Use it when a program keeps closing' — and points to get_boot_history for session endings, so there is real routing guidance. It stops short of clarifying when to prefer adjacent tools like get_program_history, get_leaks or get_stutters, so exclusion guidance is incomplete.

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