Skip to main content
Glama

list_mail_rules

Read-onlyIdempotent

List Paperless-NGX mail rules with optional pagination to review and manage email processing configurations.

Instructions

List Paperless mail rules with optional pagination.

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": "list_mail_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description contributes only the pagination hint; it does not disclose default or maximum page size, whether paging is required past a threshold, or anything about result ordering.

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?

A single front-loaded sentence with zero filler. It is arguably under-sized for the information an agent needs about the two undocumented parameters, but nothing in it is wasted.

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?

For a simple read-only list tool whose annotations and lack of output schema mean little else must be explained, the description is close to sufficient at a high level. The remaining gap is pagination semantics, which matter because the schema provides no parameter descriptions at all.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden for page and page_size, and it does little beyond noting that pagination is "optional". It never states that page is likely 1-indexed, gives no default or upper bound for page_size, and does not explain what happens when page_size is omitted.

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 gives a specific verb and resource ("List Paperless mail rules"), which cleanly separates it from get_mail_rule, create_mail_rule, update_mail_rule and delete_mail_rule among the siblings. It stops short of explicitly naming any sibling or contrasting behavior, so it is clear but not maximally differentiated.

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?

"List ... with optional pagination" implies the tool is for enumerating all rules and that paging is available for large result sets, but there is no explicit when-to-use versus get_mail_rule for a single rule and no stated prerequisites or exclusions. The usage is inferable rather than spelled out.

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