Skip to main content
Glama
INKY MCP Server

INKY MCP Server

by FouadHELLAL7

Get INKY daily statistics

inky_statistics_get
Read-onlyIdempotent

Retrieve daily inbound mail counts for a team by verdict, detection reason, or result category over closed UTC days, with per-day rows and window totals for threat-trend reporting.

Instructions

One team's daily counts of inbound mail INKY analysed (beta; needs statistics.read), by breakdown: 'verdict' (neutral/caution/danger per day, zeros included), 'reason' (detection codes per day; a message with several reasons counts under each) or 'result_category'. Whole closed UTC days, default the last 30 ending yesterday, max 90 days, max 179 days back. Returns per-day rows plus window totals.

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": {
      "team_id": "<team_id>"
    },
    "name": "inky_statistics_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoFirst UTC day, inclusive (default: 29 days before until; max 90-day window, max 179 days back) (YYYY-MM-DD, UTC day).
untilNoLast UTC day, inclusive (default: yesterday; must be before today) (YYYY-MM-DD, UTC day).
reasonNobreakdown=reason only: limit rows to these reason codes.
team_idYesA team id (kind 'team'). Organization nodes are refused by INKY: query each team.
breakdownNoWhich breakdown (default verdict).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds substantial operational context beyond that: beta status, the required scope, whole closed UTC days only, defaults of the last 30 days ending yesterday, and the 90-day/179-day caps.

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?

Purpose and scope are front-loaded in the opening clause, then breakdown modes, then defaults and limits; almost nothing is redundant. The heavy parenthetical nesting and semicolons make it dense to parse, which costs a point.

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 five-parameter read tool with no output schema, the description covers permissions, date-window boundaries and caps, breakdown semantics, and even the return shape ('per-day rows plus window totals'). Nothing an agent needs to call 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 100%, so the baseline is 3; the description earns an extra point for counting semantics the schema does not express, such as verdict rows including zeros and a message with multiple reasons counting under each reason code. It also reiterates the window defaults and caps in a way that clarifies how since/until interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: per-team daily counts of inbound mail analysed by INKY, with the three breakdown modes enumerated. Scope ('one team's', 'daily') is concrete, though it never names a sibling such as inky_threat_summary or inky_usage_history, so an agent must infer differentiation from scope alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It states the required scope ('statistics.read'), the beta status, and the constraint that organization nodes are refused so each team must be queried separately. However, there is no explicit when-to-use versus when-not-to-use guidance relative to the aggregate/usage/history siblings, leaving the agent to infer the choice.

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