Skip to main content
Glama
EllGree
by EllGree

mail_migrate

Backfills id frontmatter into legacy .md briefs missing ids, using timestamp and nanoid. Dry run supports preview.

Instructions

Backfill id: frontmatter into hand-written legacy briefs in a given folder. Scans .md files, generates an id from filename timestamp + nanoid suffix for any file missing one, rewrites atomically. Use dry_run: true first to preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYes
folderYes
dry_runNo
Behavior4/5

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

Describes the process: scans .md files, generates id from filename timestamp + nanoid, only for files missing id, rewrites atomically. Good detail given no annotations; missing state about files with existing 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?

Three sentences, front-loaded with verb and object, no wasted words. Efficient and scannable.

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?

No output schema; description does not specify return values or failure modes. Lacks details on file matching and atomic rewrite guarantees. Somewhat complete but missing key aspects.

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?

The description mentions folder and dry_run but does not explain the 'agent' parameter, which is an enum with unclear purpose. Schema provides no descriptions, so parameter semantics are weak.

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 (backfill id frontmatter) and resource (hand-written legacy briefs in a given folder). It distinguishes from sibling mail tools which handle email operations, so purpose is unambiguous.

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?

Provides a clear instruction to use 'dry_run: true' first for preview. No explicit comparison to alternatives, but siblings are different domains, so it's adequately guided.

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

Install Server

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/EllGree/mailbox-mcp'

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