Skip to main content
Glama

Moltline RegClock

Classify Event

classify_event
Read-onlyIdempotent

Apply a regime's statutory criteria to yes/no facts and name the event type. FREE.

Typical input {"regime": "eu_dora", "facts": {"critical_services_affected": true, "duration_or_downtime": true, "geographic_spread": true}} returns {"reportable": true, "event_type": "major_ict_incident", "reasoning": [...], "criteria": {...}}. Unanswered questions are listed under "missing" so the caller can go and find out. Use when deciding whether an incident triggers a regime at all. Not for judging severity in the abstract: it only applies the written criteria to the facts given. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "facts must be an object of question id -> answer"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factsYesanswers keyed by the question ids returned for the regime (booleans; integers for counts).
regimeYesregime id from list_regimes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description details error behavior: 'never raises a protocol error' and instead returns an error object with guidance. It also discloses that unanswered questions are listed under 'missing,' and explicitly states it is safe to retry after correction. This adds operational context the annotations do not provide.

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 front-loaded with a one-sentence summary, followed by a compact example, usage guidance, error semantics, and safety note. Every section earns its place, though the stray 'FREE.' adds little signal and the overall text is on the longer side.

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?

For a two-parameter tool with a rich output schema, the description covers the input contract, example output, missing-answer behavior, and error handling. It leaves no significant gap an agent would need to infer before calling.

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

Parameters4/5

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

The schema already documents both parameters with 100% coverage, so the baseline is 3. The description adds value with a concrete example input ('{"regime": "eu_dora", ...}') and clarifies that facts are yes/no answers plus integer counts. This example helps an agent parameterize the call correctly.

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 opens with a clear verb-object pair ('Apply a regime's statutory criteria to yes/no facts and name the event type'), specifying both the action and the resource. It further disambiguates from sibling tools by stating it is 'not for judging severity in the abstract' and only applies written criteria. This gives an agent a precise mental model of the tool's unique role.

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 provides an explicit trigger condition: 'Use when deciding whether an incident triggers a regime at all.' It also gives a clear exclusion: 'Not for judging severity in the abstract,' which prevents misuse. It stops short of naming which sibling handles severity, so alternatives are only implied, not enumerated.

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.6/5.0
Disambiguation5/5

Each tool targets a distinct stage of the incident-reporting workflow: classify_event qualifies the incident, compute_deadlines and compute_deadlines_multi produce deadlines, deadline_status monitors them, explain_rule cites the underlying rule, and timeline_export and validate_report handle output and pre-submission checks. No two tools are plausible substitutes; the single vs. multi-regime split between the two deadline tools is explicitly described.

Naming Consistency3/5

Most action tools follow a verb_noun pattern (classify_event, compute_deadlines, explain_rule, list_regimes, validate_report), but three tools use noun_noun or reversed forms (deadline_status, holiday_calendar, timeline_export). The convention is readable but not uniform, making it a mixed pattern rather than a consistent one.

Tool Count5/5

Nine tools is a well-scoped set for a regulatory deadline engine. Each tool maps to a necessary capability—discovery, classification, computation, status, explanation, calendar data, export, and validation—without redundant or filler entries.

Completeness5/5

The surface covers the full lifecycle: discover regimes, classify an incident, compute single or multi-regime deadlines, assess their status, inspect the statutory rule, export to calendar/CSV, and validate a draft report. Holiday and regime metadata tools fill supporting gaps, leaving no obvious dead-end for the stated purpose.

Resources