Skip to main content
Glama
Receipt Sweep

Receipt Sweep

by saranya-ms

connection_status

Read-only

Verify an IMAP email connection is active and report the mail server version. Sends NOOP to detect and reopen silently closed sockets before searches or reads.

Instructions

Check whether an email connection is active, and report the server version.

Sends a NOOP so a socket the mail server has silently closed is noticed (and re-opened) here rather than on the next search or read.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, but the description adds real behavioral context beyond them: it performs a network NOOP and can re-open a closed socket, a side effect an agent would not infer from the annotation. No auth requirements or failure behavior are described.

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 primary purpose, and the second sentence exists solely to explain the non-obvious NOOP behavior. No filler.

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?

An output schema exists, so return values need not be explained, and the description covers the essential behavior for a simple status check. It stops short of covering error/failure semantics, but the core is complete.

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

Parameters4/5

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

The tool takes zero parameters, so the schema is trivially complete and there is nothing for the description to compensate for. Baseline for a 0-param tool.

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?

States a specific verb and resource ('Check whether an email connection is active') plus a secondary output ('report the server version'). Easily distinguished from siblings connect_email, disconnect_email, and the read/search tools.

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

Usage Guidelines4/5

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

Explains the motivating scenario clearly — using it so a silently-closed socket surfaces here rather than on the next search or read. It does not explicitly name an alternative tool or a when-not-to-use condition, so it falls just short of the top band.

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