Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

search_outlook_mail

Search synced Outlook mailbox emails by keyword across subject, body, and sender, returning the newest matches first with short body previews for quick triage.

Instructions

Keyword search (subject, body, sender) over emails Incident Lake has synced from the tenant's Outlook service mailbox, newest first. Only bodyPreview (first 300 chars) is returned — use get_outlook_mail for the full body. Requires the Outlook add-on and a configured, enabled mailbox.

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": {
      "query": "<query>"
    },
    "name": "search_outlook_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 10, max 50)
queryYesKeyword to match against subject, body or sender
hoursBackNoOnly include mail received within this many hours

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the critical return limitation (only bodyPreview, first 300 chars), the sort order, and an environment prerequisite. It omits rate limits or how paging beyond 'limit' behaves, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: scope first, the truncation caveat and sibling pointer second, prerequisites last. No filler or restatement of the name.

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 three-parameter read-only search with no output schema, the description supplies everything an agent needs to call it correctly and interpret the response: matched fields, ordering, the 300-char truncation, the escalation path, and the add-on prerequisite.

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?

Schema description coverage is 100%, so query, limit and hoursBack are already documented with defaults and bounds. The description adds only the field-matching scope of the keyword and the newest-first ordering, which is useful but marginal; baseline 3 applies.

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 ('Keyword search ... over emails ... from the tenant's Outlook service mailbox'), names the matched fields (subject, body, sender), and specifies result ordering (newest first). It is immediately distinguishable from get_outlook_mail, which is named as the full-body alternative.

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?

Explicitly routes the agent: use get_outlook_mail when the full body is needed, and states the prerequisite that the Outlook add-on and a configured, enabled mailbox are required. It stops short of spelling out when not to use it (e.g. for non-Outlook sources), but the context needed to choose is present.

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

Deploy Server

Other Tools