Skip to main content
Glama

pmg_statistics_mailcount

Retrieve per-bucket mail count statistics from Proxmox Mail Gateway for a specified time range and bucket size.

Instructions

Get per-bucket mail count statistics (read). Needs PROXIMO_PMG_* config.

PMG 9.1 live-verified path via pmgsh ls: GET /statistics/mailcount. timespan: histogram bucket size in seconds, 3600–31622400 (default 3600 = 1 hour). Maps start/end Unix epoch → starttime/endtime query params.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNo
startNo
timespanNo
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral disclosure burden. It states the tool is a read operation and gives parameter constraints, but does not discuss rate limits, error handling, or authentication beyond the config note.

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?

The description is concise, with each sentence providing useful information. It could be better structured (e.g., bullet points), but there is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the existence of an output schema (not shown), the description does not need to detail return values. It covers purpose, key parameters, and config, but lacks typical usage context or examples. It is adequate but not fully comprehensive.

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?

With only 25% schema description coverage, the description adds significant meaning: it explains that timespan is in seconds with a range and default, and that start/end are Unix epoch timestamps mapped to query parameters. This goes beyond the bare schema.

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 clearly states the tool retrieves per-bucket mail count statistics and is a read operation. The name is specific enough to hint at its function, but it does not explicitly distinguish among sibling statistics tools like pmg_statistics_domains or pmg_statistics_mail.

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?

The description mentions the requirement for PROXIMO_PMG_* config and provides parameter details (timespan range, start/end mapping). However, it does not explain when to use this tool over other statistics tools or give any exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-broadway/proximo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server