Skip to main content
Glama

pmg_statistics_sender

Get per-sender mail statistics from a Proxmox Mail Gateway. Optionally filter by time range or sender string, and target a specific PMG server.

Instructions

READ-ONLY: get per-sender mail statistics. Needs PROXIMO_PMG_* config.

Returns a list of per-sender stat dicts. orderby is accepted for compatibility but IGNORED — PMG rejects it here (HTTP 400) unlike pmg_statistics_receiver, which does honor it. For per-recipient stats use pmg_statistics_receiver.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoUnix epoch end of the window; omit for no upper bound.
startNoUnix epoch start of the window; omit for no lower bound.
filter_NoOptional search string to filter senders.
orderbyNoAccepted for compatibility but ignored — PMG 9.1 rejects orderby on this endpoint.
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
Behavior4/5

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

No annotations provided, so description carries full burden. It declares read-only, mentions config requirement, and reveals that orderby is ignored (HTTP 400). However, it does not discuss pagination or behavior with no results, but output schema exists to partially compensate.

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 sentences, front-loaded with purpose and read-only status, no redundant words. Every sentence adds value.

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?

Given output schema exists and schema coverage is complete, description covers purpose, usage, and key behavioral quirk (orderby). Lacks discussion of output structure but output schema compensates. Could mention config necessity earlier.

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 coverage is 100%, so baseline is 3. Description adds no new meaning beyond what the schema already provides for each parameter (e.g., orderby ignored is already in schema).

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?

Description clearly states it gets per-sender mail statistics and is read-only. It distinguishes itself from pmg_statistics_receiver for per-recipient stats, providing strong differentiation among sibling tools.

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?

Explicitly states when to use (per-sender stats) and gives an alternative tool (pmg_statistics_receiver) for per-recipient stats. Also warns that orderby is ignored, which helps avoid misuse.

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