Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Incident rollup (read-only timeline)

ops_incident_rollup
Read-only

Compact incident timeline: Datadog alerts, deployment_status, and error spikes for an environment. For interactive triage with SSE progress use macro_outage_triage instead.

Input Schema

NameRequiredDescriptionDefault
envNoEnvironment slug or label (e.g. PRD, int)
hoursNoError lookback window in hours
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedOutput schema / properties / data / properties / alerts / additionalProperties
      Removed value: -{
      -  "$ref": "#/properties/data/properties/errors/additionalProperties"
      -}
    • addedOutput schema / properties / data / properties / alerts / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "_signatureAscii": {
      +        "type": "string"
      +      },
      +      "_summaryNote": {
      +        "type": "string"
      +      },
      +      "alerts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ageCategory": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "priority": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "state": {
      +              "type": "string"
      +            },
      +            "triggeredAt": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "state",
      +            "type",
      +            "triggeredAt",
      +            "ageCategory"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "queriedAt": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "queriedAt",
      +      "alerts"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / alerts / type
      Removed value: -"object"
    • removedOutput schema / properties / data / properties / deployments / additionalProperties
      Removed value: -{
      -  "$ref": "#/properties/data/properties/errors/additionalProperties"
      -}
    • addedOutput schema / properties / data / properties / deployments / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "account_slug": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "candidates": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "environment": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "gaps": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "partial_errors": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "queried_at": {
      +        "type": "string"
      +      },
      +      "scope": {
      +        "type": "string"
      +      },
      +      "sources": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "error": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "latest": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "branch": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "revision": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "status",
      +                "at",
      +                "revision",
      +                "url",
      +                "branch",
      +                "message"
      +              ],
      +              "type": "object"
      +            },
      +            "ok": {
      +              "type": "boolean"
      +            },
      +            "type": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "ok",
      +            "label"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "environment",
      +      "account_slug",
      +      "scope",
      +      "queried_at",
      +      "sources",
      +      "gaps",
      +      "partial_errors"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / deployments / type
      Removed value: -"object"
    • removedOutput schema / properties / data / properties / errors / additionalProperties
      Removed value: -{
      -  "type": [
      -    "string",
      -    "number",
      -    "boolean",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / data / properties / errors / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "type": "string"
      +      },
      +      "services": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "errorCount": {
      +              "type": "number"
      +            },
      +            "percentage": {
      +              "type": "number"
      +            },
      +            "service": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "service",
      +            "errorCount",
      +            "percentage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "to": {
      +        "type": "string"
      +      },
      +      "totalErrors": {
      +        "type": "number"
      +      },
      +      "totalErrorsInWindow": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "from",
      +      "to",
      +      "totalErrorsInWindow",
      +      "totalErrors",
      +      "services"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / errors / type
      Removed value: -"object"
    • changedOutput schema / properties / data / required
      Previous value: -[
      -  "env",
      -  "hours",
      -  "queriedAt",
      -  "windows",
      -  "timeline",
      -  "gaps",
      -  "partial",
      -  "truncated",
      -  "warnings"
      -]New value: +[
      +  "env",
      +  "hours",
      +  "queriedAt",
      +  "windows",
      +  "timeline",
      +  "errors",
      +  "deployments",
      +  "alerts",
      +  "gaps",
      +  "partial",
      +  "truncated",
      +  "warnings"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / diagnosis
      Added value: +{
      +  "$ref": "#/properties/data/properties/investigation/properties/execution"
      +}
    • addedOutput schema / properties / data / properties / investigation
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "confidence": {
      +      "type": "number"
      +    },
      +    "confidence_band": {
      +      "enum": [
      +        "HIGH",
      +        "MEDIUM",
      +        "LOW"
      +      ],
      +      "type": "string"
      +    },
      +    "correlation_id": {
      +      "type": "string"
      +    },
      +    "evidence": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "captured_at": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "source_tool": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "evidence_items": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    },
      +    "evidence_origin": {
      +      "type": "string"
      +    },
      +    "evidence_quality": {
      +      "type": "string"
      +    },
      +    "execution": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "items": {
      +            "$ref": "#/properties/data/properties/investigation/properties/execution"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "additionalProperties": {
      +            "$ref": "#/properties/data/properties/investigation/properties/execution"
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "hypotheses": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "category": {
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "type": "number"
      +          },
      +          "confidence_band": {
      +            "enum": [
      +              "HIGH",
      +              "MEDIUM",
      +              "LOW"
      +            ],
      +            "type": "string"
      +          },
      +          "evidence_ids": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "statement": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "inferences": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    },
      +    "macro_tool": {
      +      "type": "string"
      +    },
      +    "metadata": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "correlation_id": {
      +          "type": "string"
      +        },
      +        "evidence_origin": {
      +          "type": "string"
      +        },
      +        "execution": {
      +          "$ref": "#/properties/data/properties/investigation/properties/execution"
      +        },
      +        "macro_tool": {
      +          "type": "string"
      +        },
      +        "produced_at": {
      +          "type": "string"
      +        },
      +        "producer": {
      +          "type": "string"
      +        },
      +        "scope": {
      +          "type": "string"
      +        },
      +        "snapshot_version": {
      +          "const": 1,
      +          "type": "number"
      +        },
      +        "tool_calls_count": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "observed_facts": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    },
      +    "produced_at": {
      +      "type": "string"
      +    },
      +    "producer": {
      +      "type": "string"
      +    },
      +    "resolution_verification": {
      +      "$ref": "#/properties/data/properties/investigation/properties/execution"
      +    },
      +    "scope": {
      +      "type": "string"
      +    },
      +    "snapshot_version": {
      +      "const": 1,
      +      "type": "number"
      +    },
      +    "suggested_actions": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    },
      +    "timeline": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    },
      +    "tool_calls_count": {
      +      "type": "integer"
      +    },
      +    "verification_conditions": {
      +      "items": {
      +        "$ref": "#/properties/data/properties/investigation/properties/execution"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed17 schema fields changed
    • addedOutput schema / properties / data / properties / alerts
      Added value: +{
      +  "additionalProperties": {
      +    "$ref": "#/properties/data/properties/errors/additionalProperties"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / properties / deployments
      Added value: +{
      +  "additionalProperties": {
      +    "$ref": "#/properties/data/properties/errors/additionalProperties"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / properties / env
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / errors
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "string",
      +      "number",
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / data / properties / format
      Removed value: -{
      -  "enum": [
      -    "plain",
      -    "markdown",
      -    "json"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / gaps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / hours
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / data / properties / partial
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / queriedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / text
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / timeline
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "kind": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "summary": {
      +        "type": "string"
      +      },
      +      "ts": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ts",
      +      "source",
      +      "kind",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / windows
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "from": {
      +      "type": "string"
      +    },
      +    "to": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "from",
      +    "to"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / data / required
      Previous value: -[
      -  "text"
      -]New value: +[
      +  "env",
      +  "hours",
      +  "queriedAt",
      +  "windows",
      +  "timeline",
      +  "gaps",
      +  "partial",
      +  "truncated",
      +  "warnings"
      +]
    • addedOutput schema / properties / dataSchemaVersion
      Added value: +{
      +  "const": 2,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contractVersion",
      -  "ok",
      -  "data"
      -]New value: +[
      +  "contractVersion",
      +  "dataSchemaVersion",
      +  "ok",
      +  "data"
      +]
  4. 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 readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds the substantive behavioral fact that this is a cross-source rollup combining Datadog alerts, deployment status, and error spikes. It adds no notes on latency or per-source failure modes, keeping it short of a 5.

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

Conciseness5/5

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

Two sentences: the first front-loads what the tool is and what it aggregates, the second handles the alternative. Nothing is redundant or buried.

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?

An output schema exists so return-shape explanation is unnecessary, annotations cover safety, and all three parameters are documented in the schema. The only small gap is what happens when env is omitted (default environment?) which neither schema nor description states.

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% with clear docs for env, hours, and context_id, so the schema does the heavy lifting and baseline is 3. The description adds only the notion of an 'environment' scope and an error lookback, which the schema already states.

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?

The description names a specific aggregate ('compact incident timeline') and enumerates its sources (Datadog alerts, deployment_status, error spikes) scoped to an environment. An agent can distinguish it from broader triage or single-source tools like dd_errors_recent or deployment_status without opening any 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?

It explicitly routes the agent to macro_outage_triage when interactive SSE-mediated triage is wanted, which is a real alternative-selection rule. It does not spell out the positive trigger conditions (e.g. quick read-only snapshot before deeper investigation), leaving some inference.

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