Skip to main content
Glama
ProtonMail MCP Server

ProtonMail MCP Server

by barhatch

get_logs

Retrieve recent system log entries and filter them by severity level or maximum count to diagnose issues and monitor server activity.

Instructions

📋 Get recent system logs

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

Input Schema

NameRequiredDescriptionDefault
levelNoLog level filter
limitNoMax log entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and says almost nothing: it does not state whether this is a read-only operation, what "recent" means (time window), whether results are ordered newest-first, or how limit interacts with recency. Only the word "recent" hints at scoping behavior.

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 short sentence with an emoji marker and the verb front-loaded — nothing is bloated or buried. Its brevity is efficient rather than padded, though it borders on under-specification rather than crispness.

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?

The tool is simple (0 required params, full schema coverage, no output schema required to document), so a short description is defensible. Still, an agent cannot tell what a log entry contains or what time span "recent" covers, which matters for interpreting results in an email-sync toolset.

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 100%, with both level (enum) and limit (default 100) documented in the schema, so the baseline of 3 applies. The description adds no extra meaning such as whether level filtering is exact-match or inclusive, or what happens when limit is omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Get recent system logs"), so the basic action is legible. However it never clarifies whose or what system's logs these are in an email-oriented toolset, and gives no differentiation from data-bearing siblings like get_email_analytics or get_email_stats.

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?

There is no when-to-use guidance at all — no statement of what questions this answers, no prerequisites, and no pointer to an alternative for related data. The agent must guess that this is the diagnostic/log-inspection tool from the name alone.

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