Skip to main content
Glama
WYRE-AI

Cork MCP Server

Official
by WYRE-AI

cork_get_compliance_events

Retrieve policy violations and risk events for client assets, with filters for event type, device, inbox, domain, and active-risk status. Excludes resolved events unless requested.

Instructions

List policy violations and risk events detected for a client's assets. Filter by event_type (use cork_get_compliance_event_types for valid values), device, inbox, or domain UUID. Use at_risk=true to show only currently active risks. Resolved events are excluded by default; set show_resolved=true to include them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Defaults to 1.
at_riskNoWhen true, only return currently active (unresolved, unsuppressed) risk events.
page_sizeNoItems per page (max 100). Defaults to 10.
event_typeNoFilter by event type. Use cork_get_compliance_event_types for valid values.
inbox_uuidNoFilter to a specific inbox UUID from cork_get_client_inboxes.
client_uuidYesClient UUID, from cork_get_clients.
device_uuidNoFilter to a specific device UUID from cork_get_client_devices.
domain_uuidNoFilter to a specific domain UUID from cork_get_client_domains.
created_afterNo
show_resolvedNoInclude resolved events in results. Required to use resolved_after/resolved_before. Defaults to false.
show_silencedNoInclude silenced/suppressed events in results. Defaults to false.
created_beforeNo
resolved_afterNoRequires show_resolved=true.
resolved_beforeNoRequires show_resolved=true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are present, so the description carries the behavioral burden. It discloses default exclusions (resolved events excluded by default), how to include them, and the meaning of at_risk=true. It could mention pagination or ordering, but the key behavioral defaults are effectively surfaced.

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?

Three concise sentences: purpose, filter options, and default behavior. Every sentence adds useful information without redundancy or filler, and the most important usage details are front-loaded.

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 14-parameter tool with no output schema and no annotations, the description supplies the crucial behavioral defaults and cross-references for valid values and UUID sources. It is not exhaustive (no example output or sorting info), but it gives an agent enough to call the tool effectively.

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?

Schema coverage is high (86%), which sets the baseline at 3. The description adds value beyond the schema by tying event_type to a sibling tool, clarifying the resolved-event default behavior, and reinforcing the show_resolved requirement for resolved date filters. It doesn't describe every parameter, but the schema already handles those.

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?

Description uses a specific verb ('List') with a clear resource ('policy violations and risk events detected for a client's assets'), which distinguishes it from sibling tools like cork_get_compliance_event_types and cork_get_compliance_notification_settings. An agent immediately understands what this tool returns.

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?

Description gives concrete filtering guidance: use cork_get_compliance_event_types for valid event_type values, set at_risk=true for active risks, and set show_resolved=true to include resolved events. It doesn't explicitly mention when not to use this tool versus alternatives, but the read/list purpose is clear enough for routing.

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