Skip to main content
Glama
INKY MCP Server

INKY MCP Server

by FouadHELLAL7

List INKY reported mail

inky_reported_mail_list
Read-onlyIdempotent

List user-reported email triage records with open items, severity, queue route, sender and Message-ID details; filter by team, date, or message ID and poll updates for closed cases.

Instructions

List the reported-mail triage queue: records built from user-reported messages with at least one open item (beta; needs reported_mail.read). Estate-wide, or one node with team_id. Default window is the last 7 days of activity; created_since/created_until reach older records. updated_since or rfc822_message_id also return already-closed records ('what happened to this message?'). Each record shows severity, queue_route (triage bucket), items with sender/Message-ID and the user reports. Keep poll_from and pass it as updated_since next time; re-reading the same first page within 60 s is refused with POLLED_TOO_SOON.

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": "inky_reported_mail_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100 (default 25).
cursorNoOpaque next_cursor from a previous call of THIS tool with the SAME filters. Omit for the first page.
searchNoCase-insensitive substring match on the record title.
senderNoRefines rfc822_message_id to this sender. Requires rfc822_message_id.
team_idNoLimit to this team/organization node. Omit for the whole estate.
severityNoOnly records with this severity.
created_sinceNoOnly records created at or after this time (replaces the 7-day default window) (ISO-8601 date-time, UTC, e.g. 2026-11-01T00:00:00Z).
created_untilNoOnly records created at or before this time (replaces the 7-day default window) (ISO-8601 date-time, UTC, e.g. 2026-11-01T00:00:00Z).
updated_sinceNoOnly records changed at or after this time; includes closed records. Use the previous poll_from (ISO-8601 date-time, UTC, e.g. 2026-11-01T00:00:00Z).
rfc822_message_idNoRecords containing this Message-ID (angle brackets optional); includes closed records.
max_items_per_recordNoItems shown per record (default 5); item_count shows the total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description builds well past them: beta status, the required reported_mail.read scope, the 7-day default window, the open-only vs closed-inclusive behavior of different filters, the record payload shape, and the POLLED_TOO_SOON refusal when re-reading the same first page within 60 seconds. That rate-limit behavior is exactly the kind of detail annotations cannot convey and would otherwise cause a confusing failure.

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 scope, then filters, then payload, then polling — a sensible order where each sentence carries new information. It is dense with parentheticals ("(beta; needs reported_mail.read)", "('what happened to this message?')") and reads as one long run-on, but almost nothing is redundant with the 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 an 11-parameter read tool with no output schema, the description covers scope defaults, filter interactions, closed-record inclusion rules, the returned fields (severity, queue_route, items with sender/Message-ID, user reports), and the polling contract including poll_from. An agent can call this correctly and interpret the response without further context.

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 100%, so the baseline is 3; the description earns above that by explaining relational semantics the schema states only per-field — that created_* replaces the default window, that updated_since is the polling cursor, that team_id scopes estate-wide vs one node, and that sender only refines rfc822_message_id. It stops short of adding anything for limit/cursor/search/severity/max_items_per_record beyond the schema's own wording.

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?

"List the reported-mail triage queue" gives a specific verb and resource, and the qualifier "records built from user-reported messages with at least one open item" distinguishes it from the singular inky_reported_mail_get and from message search tools. An agent knows exactly what set this returns 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the default scope (estate-wide, last 7 days of activity), the escape hatches for older records (created_since/created_until), and the specific condition that changes the result set — updated_since or rfc822_message_id also return already-closed records for "what happened to this message?" lookups. It even prescribes the polling loop (keep poll_from, pass as updated_since), which is the main operational guidance an agent needs.

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