Skip to main content
Glama

list_mail_rules

Fetch Paperless-NGX mail rules with optional pagination to inspect and manage email processing rules.

Instructions

List Paperless mail rules with optional pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and delivers little: it implies a read-only listing but never states it, and says nothing about ordering, default result size, pagination limits, or permissions.

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 efficient sentence with the resource front-loaded and no filler. It is appropriately sized, though the size reflects under-specification rather than discipline.

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

Completeness2/5

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

For a list tool with 0% schema coverage and no annotations or output schema, the description should explain pagination defaults, ordering, and result shape. It does none of this, leaving key invocation details undefined.

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 coverage is 0%, so the two parameters ('page', 'page_size') are undocumented by type, default, or bounds. The description only gestures at 'optional pagination' without explaining either parameter's semantics or defaults.

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 (List) and resource (Paperless mail rules), which distinguishes it from the sibling get_mail_rule and the mail account tools. It lacks explicit sibling differentiation text, but the name and scope are unambiguous.

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

Usage Guidelines2/5

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

No guidance on when to use this versus get_mail_rule or list_mail_accounts, and no conditions or prerequisites are given. The agent must infer usage purely from the name.

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