Skip to main content
Glama
INKY MCP Server

INKY MCP Server

by FouadHELLAL7

List INKY allow-list rules

inky_allow_list_list
Read-onlyIdempotent

List allow-list rules that suppress INKY verdicts for matching mail, filter by sender, domain, result type, user, or enabled status, and audit why a phish was delivered.

Instructions

List allow-list rules, which suppress an INKY verdict (result_type) for matching mail (beta; needs allow_list.read). Estate-wide, or for one node with team_id (includes inherited blanket rules unless inherited=false). Filters: sender, domain, result_type ('*' = allow-anything rules, the usual audit target), user_email, enabled. Each rule has a shape (sender, domain, url, attachment, …) naming its criteria fields. Use to answer 'why was this phish delivered?'.

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_allow_list_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-999 (default 50).
cursorNoOpaque next_cursor from a previous call of THIS tool with the SAME filters. Omit for the first page.
domainNoDomain of domain-shaped rules (exact).
senderNoSender email or domain of sender-shaped rules (exact, case-insensitive).
enabledNotrue: active rules only; false: disabled rules only.
team_idNoTeam or organization node. Omit for an estate-wide sweep (each rule listed once, on the node it is set on, without inheritance).
inheritedNoPer-team only. true (INKY default): own rules plus blanket rules inherited from ancestors — the 'why was this allowed/blocked' view. false: only rules set directly on this team.
user_emailNoOnly rules scoped to this mailbox (team-wide rules excluded).
result_typeNoVerdict code, e.g. spam_content, graymail, brand_impersonation, or '*'. See inky_result_types_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the beta status, the required allow_list.read permission, and the inheritance behavior (estate-wide dedup vs team node with inherited blanketed rules) that materially changes what comes back. It also explains that each rule carries a 'shape' naming its criteria fields, so the agent knows to branch on shape rather than assume uniform rules.

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 permission, then filters, then the use case, with no filler sentences. The parenthetical, semicolon-heavy style packs dense qualifiers that take a second read but each one carries real meaning.

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 9-parameter read tool with no output schema, it covers the operative semantics: pagination is in-schema, inheritance is explained, and rule 'shape' hints at the response structure. It does not describe return ordering or what fields appear on a listed rule, leaving the agent to inspect the first response.

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 each parameter is already documented in detail. The description restates the filter set and clarifies that '*' means 'allow-anything rules, the usual audit target', which is mildly useful but largely duplicates what the schema already says about result_type and inherited; 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 ('List allow-list rules') and then defines the resource functionally: rules that 'suppress an INKY verdict (result_type) for matching mail'. That functional framing makes the allow-list/block-list distinction obvious without needing to enumerate siblings.

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?

Gives a concrete use case ('Use to answer why was this phish delivered?') and steers audit work toward result_type '*', with the estate-wide vs team_id split spelled out. It stops short of explicitly naming inky_allow_list_get as the single-rule alternative or inky_block_list_list as the contrasting lookup, so routing is clear but not fully closed.

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