Skip to main content
Glama

WatchFor

Get incident post-mortem

get_postmortem
Read-onlyIdempotent

The incident's post-mortem (plan feature): title, status (draft/completed), is_public, severity (minor/major/critical), root_cause_category, sections (summary, impact, root_cause, detection, resolution, what_went_well, what_could_have_gone_better: text under each heading, "" when empty), the full markdown-lite body, author-added timeline entries and action_items. Returns { postmortem: null } when the incident has none yet. The incident's own events and root cause belong to the incident, not to the post-mortem.

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": {
      "incident_id": "<incident_id>"
    },
    "name": "get_postmortem"
  }
}

Input Schema

NameRequiredDescriptionDefault
incident_idYesIncident number, e.g. 2828

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that by documenting the returned field set, the empty-string convention for missing sections, and the null-postmortem outcome, though it does not describe the 'plan feature' gating behavior (e.g., what happens on a non-plan account).

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 resource identity, followed by a dense but purposeful field enumeration and two disambiguating sentences. The long comma-separated field list is heavy but earns its place because there is no output schema to carry return shape.

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 takes on the full burden of describing return values and does so: top-level fields, nested sections with empty-string semantics, timeline and action_items, plus the null case. For a single-parameter read tool, nothing an agent needs 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% and the single parameter is documented in-schema as an incident number with exclusiveMinimum 0, so the schema does the work. The description adds nothing about incident_id formatting or where to obtain it, which is the baseline expectation when coverage is complete.

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 the exact resource (the incident's post-mortem) with a specific verb and enumerates the fields it carries, and explicitly bounds scope by stating that the incident's own events and root cause belong to the incident, not the post-mortem — which separates it from get_incident.

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?

The usage context is clear: fetch a post-mortem for a given incident, and the closing sentence tells the agent that incident-level events/root cause should come from a different tool. It also documents the no-postmortem case ({ postmortem: null }), but does not name a concrete alternative tool for the incident data.

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.