Skip to main content
Glama
aletheia-aegis

aletheia-aegis

aegis_classify_incident

Classifies incident report text against a keyword vocabulary, returning per-signature confidence scores and matched keywords for offline corpus annotation.

Instructions

Classify incident text against the paper's keyword vocabulary (Appendix C): returns a per-signature confidence score (min(1.0, hits x 0.4), threshold 0.3) and the matched keywords. Offline annotation tool for corpus work; it classifies incident reports, not model outputs.

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

Input Schema

NameRequiredDescriptionDefault
textYesIncident report text to classify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does well: it discloses the scoring formula (min(1.0, hits x 0.4)) and the 0.3 threshold, which is genuine transparency about internals an agent could not otherwise infer. Gaps remain on error handling, empty or non-incident input, and whether classification is deterministic across runs.

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, front-loaded with the action and return contract, then a single disambiguating clause. The numeric formula is dense but earns its place because it defines the score an agent will see in the response.

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?

With no annotations and no output schema, the description must explain what comes back, and it does: per-signature confidence plus matched keywords. For a one-parameter read-ish tool that is nearly complete; only failure modes and input edge cases are left unspecified.

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?

There is one parameter at 100% schema description coverage, so the schema already documents it; the baseline is 3. The description adds only marginal meaning by framing the text as an 'incident report' subject to keyword matching, and gives no length, encoding, or formatting constraints.

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 and resource ('Classify incident text') and immediately scopes it against the paper's keyword vocabulary (Appendix C), then explicitly negates a look-alike use case: 'it classifies incident reports, not model outputs.' That negation separates it from aegis_check_output, which an agent might otherwise confuse it with.

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?

'Offline annotation tool for corpus work' gives a clear positive context, and 'not model outputs' gives an explicit exclusion, so both when and when-not are covered. It stops short of naming the sibling an agent should use for model-output checking, so it lands just under a 5.

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