Skip to main content
Glama
INKY MCP Server

INKY MCP Server

by FouadHELLAL7

Get INKY usage history

inky_usage_history
Read-onlyIdempotent

Retrieves daily billable mailbox counts per team and an estate-wide daily usage series for a chosen date range, supporting usage tracking and reporting.

Instructions

Daily billable mailbox counts per team plus an estate-wide daily series (GET /v1/usage/history). Use days (1-90, default 30) OR start_date+end_date (inclusive, max 365 days), not both. daily_totals is complete on every page: take it from the first page only.

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

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of most recent snapshot days (1-90). Mutually exclusive with start_date/end_date.
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.
end_dateNoInclusive end date; requires start_date; range max 365 days (YYYY-MM-DD, UTC day).
start_dateNoInclusive start date; requires end_date (YYYY-MM-DD, UTC day).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description's genuinely additive disclosure is the pagination behavior — daily_totals is complete on every page and should be taken from the first page only — which prevents double-counting across pages, but it says nothing about the per-team payload's mutability over time, rate limits, or auth scope.

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 dense sentences with no filler: payload contents first, then the parameter choice, then the pagination caveat. Every clause carries operational information the agent needs before calling.

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?

With five optional params, no output schema and no required fields, the description does the heavy lifting well by describing both the per-team counts and the estate-wide series and by flagging that the totals repeat on each page. It could still be more explicit about what the per-team page entries contain and about cursor scoping (the schema covers the cursor, but the description doesn't reinforce that filters must stay identical).

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 by surfacing the default of 30 days (which the schema omits for days) and by emphasizing the strict either/or between days and start_date+end_date. The 365-day range and mutual exclusivity are largely restated from the schema text, so it adds only modest meaning.

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?

The description names the resource precisely — daily billable mailbox counts per team plus an estate-wide daily series — and even cites the underlying endpoint GET /v1/usage/history. It stops short of contrasting with the sibling inky_usage_get (presumably a current-usage snapshot), so an agent must infer the historical-vs-current distinction from name alone.

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 gives explicit operating context: use either days or start_date+end_date, never both, with the ranges and defaults spelled out. What's missing is when to prefer this tool over alternatives (e.g. a live usage endpoint) or any prerequisites; it never says when not to use it.

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