Skip to main content
Glama

get_mail_account

Read-onlyIdempotent

Retrieve a Paperless-NGX mail account by ID, with password and token fields redacted if returned.

Instructions

Get one Paperless mail account by ID. Password/token fields are redacted if the server returns them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_mail_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuine value beyond them by disclosing that password/token fields are redacted in the response, which tells the agent not to expect credentials. It stops short of describing the rest of the returned object or behavior on a missing/invalid ID.

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?

Two short sentences, front-loaded with the operation and followed by the one non-obvious behavioral caveat. Nothing is redundant or padded.

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?

For a single-parameter read tool whose safety profile is fully covered by annotations and which has no output schema, the description plus redaction note is nearly sufficient. The remaining gap is the absence of ID provenance and error behavior for a nonexistent account.

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 description coverage is 0% for the single `id` parameter, so the description is the only source of meaning, and it contributes only "by ID" without saying it is the mail account ID, where to obtain one, or what happens with an unknown ID. Minimal but non-zero semantic value.

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?

"Get one Paperless mail account by ID" states a specific verb (get), resource (mail account), and cardinality/scope (one, by ID), which implicitly separates it from list_mail_accounts. It is clear on its own but never names the listing sibling or a bulk alternative explicitly.

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?

Usage is only implied: the agent must infer it should call this when it already has a single account ID rather than wanting an enumeration. There is no explicit when-to-use or when-not-to-use statement, and no mention of list_mail_accounts as the path for discovery.

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