Skip to main content
Glama

inbox_done

Archive processed chat messages to remove redundant downloaded copies and free disk space after hashes confirm they are stored safely.

Instructions

Mark messages as archived, which deletes their downloaded copies.

Call this only after the messages are in the archive with their hashes: the buffer copy of a file is redundant from that moment and is what actually grows on disk. Each key is {"chat_id": int, "message_id": int}. Rows survive for the configured TTL so a mistake stays recoverable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYes
Install Server

TDQS

A4.2/5.0
Behavior1/5

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

The description states 'deletes their downloaded copies,' which is a destructive action, but the annotations declare destructiveHint: false. This is a direct contradiction. The additional note about TTL recovery does not reconcile the mismatch, so the behavioral information is misleading.

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?

Three sentences, each earning its place. The main action is front-loaded, followed by a usage condition and a recovery note. There is no fluff or redundant information.

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

Completeness5/5

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

The description covers purpose, precondition, parameter shape, and persistence behavior (TTL). It provides enough detail for an agent to invoke the tool correctly, even without an output schema, and the only significant gap is the annotation contradiction which is already flagged.

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

Parameters5/5

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

The schema only defines 'keys' as an array of objects with additionalProperties: true. The description adds essential semantics: 'Each key is {"chat_id": int, "message_id": int}. This precisely specifies the required structure, compensating fully for the 0% schema coverage.

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?

The description clearly states the action: 'Mark messages as archived, which deletes their downloaded copies.' It uses a specific verb and resource, and the context about buffer copy redundancy distinguishes it from sibling tools like inbox_fetch or inbox_export.

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

Usage Guidelines5/5

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

It explicitly says 'Call this only after the messages are in the archive with their hashes' and explains why (the buffer copy is redundant and grows on disk). This provides a clear precondition and rationale, effectively telling the agent when to use this tool.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZenonEl/herald'

If you have feedback or need assistance with the MCP directory API, please join our Discord server