Skip to main content
Glama

FaultKey · CausalLayer

extract_incident

Claude-powered structured extractor. Parses unstructured text (news articles, court filings, emails, PDFs, incident reports, logs) into the typed JSON schema required by submit_incident. Returns a ready-to-submit incident object with extracted agents, events, severity, jurisdiction, and financial impact. NOTE: This is a pre-processing convenience tool — the deterministic scoring engine itself remains LLM-free. Cost: 10 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesUnstructured text to extract from. Can be a news article, court filing, incident report, email, PDF text, log output, or any description of an AI incident.
context_hintNoOptional hint about the source type (e.g., 'court filing', 'news article', 'internal incident report') to improve extraction accuracy.
jurisdiction_hintNoOptional ISO country code hint if the jurisdiction is known (e.g., 'AU', 'US', 'EU').

TDQS

A4.1/5.0
Behavior4/5

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

The description discloses important behavioral traits beyond any annotations: it is 'Claude-powered' (LLM-based), a 'pre-processing convenience tool' with a deterministic scoring engine that remains LLM-free, and it costs 10 credits. This gives the agent awareness of non-determinism, cost, and its auxiliary role. It does not mention potential failure modes or rate limits, but the provided context is substantial given no annotations exist.

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?

The description is composed of three sentences plus a note. It leads with the tool's core function, then describes the output and adds important caveats. Each sentence earns its place, though the length is slightly above minimal. No fluff is present, and key details (cost, LLM nature) are efficiently included.

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?

Despite having no output schema and no annotations, the description covers the essential context: what the tool does, what it returns, its relationship to submit_incident, cost, and its LLM-based nature. It is complete enough for an agent to use it correctly without needing additional documentation. A perfect score is withheld because it does not mention error handling or clarify the 'agents, events' fields in more detail.

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?

The schema already provides 100% coverage for all three parameters, so the description does not need to explain them. The description adds contextual value by detailing the output (agents, events, severity, jurisdiction, financial impact) which indirectly relates to the text and hint parameters, but it does not elaborate on parameter syntax or formats beyond the schema. This aligns with the baseline 3 for high schema coverage.

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 clearly identifies the tool as an extractor that parses unstructured text into a typed JSON schema, explicitly naming the resource (unstructured text) and the output format required by submit_incident. It distinguishes itself from sibling tools by positioning itself as a pre-processing convenience for incident submission, not as a submission, evaluation, or simulation tool.

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 description states that the tool parses text into the schema required by submit_incident, which strongly implies it should be used before submission to prepare incident data. It provides clear context for when to use it, though it does not explicitly mention alternatives or when not to use it. The note about being a pre-processing tool adds further clarity.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have distinct purposes, but submit_incident and submit_otel_trace both create certificates from different input sources, and verify_certificate and verify_certificate_recompute both verify but via different methods. Descriptions and input types make them distinguishable, so ambiguity is low.

Naming Consistency4/5

All names use snake_case and generally follow a verb_noun pattern (e.g., submit_incident, verify_certificate). Deviations like verify_certificate_recompute (verb_noun_modifier) and evaluate_prospective_response (verb_adjective_noun) are minor and remain predictable.

Tool Count5/5

10 tools is well within the ideal 3-15 range and maps cleanly to the domain: incident submission, text extraction, pre-response gating, certificate verification, remediation simulation, jurisdiction analysis, and issuer/anchor metadata queries. Each tool serves a distinct workflow step without redundancy.

Completeness4/5

The core lifecycle (extract → submit → verify → analyze) is well covered. However, several tools reference external catalog endpoints (e.g., /jurisdiction/catalog, /remediation/catalog, /gate/thresholds) that are not exposed as MCP tools, forcing an agent to make separate HTTP calls to use these tools effectively. This is a minor workaround, not a critical gap.