Skip to main content
Glama
koderly-security-mcp

koderly-security-mcp

get_quarantine_messages

Retrieve Exchange Online quarantine messages for security review, filtered by reason (Bulk, Phish, Malware, etc.) and lookback period, to inspect suspicious email.

Instructions

Return Exchange Online quarantine messages for security review. By default only messages quarantined by a transport rule are returned. Set quarantine_types to a list of one or more of Bulk, HighConfPhish, Malware, Phish, Spam, SPOMalware, and TransportRule to choose which quarantine reasons to include (e.g. ["Phish", "Malware"]), or to ["All"] for every quarantined message regardless of reason. Each row's Type field gives its quarantine reason. Read-only; looks back up to 30 days and returns at most 1000 messages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_quarantine_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
quarantine_typesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

With no annotations supplied, the description carries the disclosure burden well: it declares read-only intent, a 30-day lookback window, and a hard cap of 1000 messages returned. It omits auth/permission requirements and pagination behavior, which keeps it below a 5.

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?

Front-loaded with purpose and default scope, then the parameter guidance, then the behavioral constraints. Dense but every clause carries information; the only mild redundancy is restating the Type field's meaning for an output that has a schema.

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 3-parameter read tool with an output schema, this covers default behavior, enumeration values, time window, and result cap. Nothing an agent needs in order to invoke it correctly is missing.

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 0%, so the description must compensate, and it does for the hardest parameter: quarantine_types is enumerated in prose (Bulk, HighConfPhish, Malware, Phish, Spam, SPOMalware, TransportRule, All) even though the schema has no enum. days and limit are only implied via the '30 days' and 'at most 1000 messages' statements rather than named explicitly.

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 specific verb and resource ('Return Exchange Online quarantine messages') plus the audience ('for security review'), which immediately distinguishes it from the sibling sign-in and storage tools. An agent can tell what it retrieves without opening the schema.

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 states the default scope (only transport-rule quarantines) and explains how to broaden it via quarantine_types, including the ["All"] escape hatch. It does not name an alternative tool or a when-not-to-use condition, so it stops short of a 5.

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