Skip to main content
Glama

ai_postmortem

Read-only

AI incident postmortem — Turn raw incident notes, a chat log or a timeline (text=, 40-12000 chars; optional service=) into a blameless postmortem: title, severity SEV1-4 with reason, summary, impact, detection, trigger, root cause, contributing factors, timeline, what went well/wrong, typed and prioritized action items, open questions, plus ready-to-paste Markdown and gap checks (missing root cause, no detection or prevention action). Uses only facts in the notes. Price: $0.01 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_postmortem"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes14:02 deploy v2.3 went out. 14:10 error rate hit 30% on checkout API, paged on-call. 14:25 rolled back. 14:40 recovered. Cause: missing env var in new config.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true, destructiveHint=false), and the description adds material context beyond them: the fact-grounding rule, the set of gap checks performed, and the paid-call requirement ('$0.01 USDC (Base, via x402)'), which is critical operational information an agent would otherwise not know. Rate limits, latency, and payment-failure behavior remain undisclosed.

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?

Front-loaded with the core verb and resource, and the long output enumeration is informational rather than filler. The single-sentence construction with a heavy comma-list of postmortem sections is dense but still scannable.

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 no output schema, the description carries the burden of describing returns and does so thoroughly (title, severity with reason, root cause, typed action items, Markdown, gap checks). Combined with input constraints and pricing, an agent has what it needs to decide and invoke correctly, the only blemish being the phantom 'service' parameter.

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% with a single documented 'text' parameter, so the schema does the heavy lifting; the description usefully adds the 40-12000 character bound that the schema does not state. However it also references an 'optional service=' parameter that does not exist in the input schema, which can mislead an agent constructing the call.

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+resource pair ('Turn raw incident notes... into a blameless postmortem') and then enumerates the exact artifacts produced. It distinguishes itself from generic siblings like ai_extract or ai_ask by tying scope to incident/postmortem domain and by naming the output sections.

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 clear input context (raw notes, chat log, or timeline; 40-12000 chars) and a key constraint ('Uses only facts in the notes'), which tells the agent this is not a generative brainstorm tool. It stops short of naming an alternative or stating exclusions, so an agent must infer when a general tool like ai_ask would be preferable.

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.

Resources