Skip to main content
Glama
ajaybe-ops
by ajaybe-ops

Run multi-source incident triage

triage_incident
Idempotent

Assess production incidents affecting assets by validating identifiers, correlating CVE/package intelligence, scoring findings, and producing prioritized actions plus an idempotent local report.

Instructions

Multi-step workflow: validate identifiers, fetch CVE and package intelligence concurrently, correlate aliases, score findings, generate prioritized actions, and persist an idempotent report. Returns a partial report with explicit coverage when a source fails or the deadline expires. Use for a production incident affecting assets. Writes a local report; never changes upstream systems. Scope: aegis:read + aegis:triage. Repeating an identical request returns the stored report.

Input Schema

NameRequiredDescriptionDefault
titleYes
assetsNo
cve_idsNo
packagesNo
incident_idYes
deadline_secondsNoWall-clock budget for upstream collection
asset_criticalityNomedium

Output Schema

NameRequiredDescriptionDefault
statusYes
actionsNo
sourcesNo
summaryYesDeterministic, template-generated summary
coverageYes
findingsNo
report_idYes
risk_bandYes
incident_idYes
generated_atYes
trust_noticeNoFindings combine untrusted external feeds with deterministic local scoring. No text from a feed is executed. Confirm affected versions before remediation.
max_risk_scoreYes
policy_versionNorisk-v1
reused_existingNo
partial_failuresNo
asset_criticalityYes
input_fingerprintYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses concurrent collection, partial reports with explicit coverage after source failures or deadline expiry, required authorization scopes, and stored-report replay for identical requests. It also precisely explains the write behavior: a local report is persisted while upstream systems are never changed.

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?

The description front-loads the workflow and then presents failure behavior, selection context, side effects, authorization, and replay semantics in a logical order. Although dense, each sentence contributes distinct operational information without 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?

For a complex workflow, it covers orchestration, degraded operation, persistence, upstream safety, authorization, and idempotency, while the output schema can define the report structure. Clearer parameter-level guidance and explicit routing to narrower sibling tools would make it fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at only 14%, the description needed to compensate, but it mostly explains the workflow rather than individual arguments. References to identifiers, assets, CVE and package intelligence, and deadlines provide indirect cues, while incident_id's relationship to report reuse and asset_criticality's effect on scoring remain unexplained.

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 specifies a concrete incident-triage workflow, including intelligence gathering, correlation, scoring, prioritized actions, and report persistence. Its end-to-end incident scope clearly distinguishes it from narrower siblings such as lookup_cve, scan_packages, and get_incident_report.

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 explicit instruction to use it for a production incident affecting assets provides a clear selection context. It does not state when not to use it or direct agents to narrower siblings for simple CVE lookups, vulnerability searches, or package scans.

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