Skip to main content
Glama
pp123ys

email-mcp-server

by pp123ys

set_flag

Mark an email with a flag (default star) using its folder:uid identifier. Specify a custom flag if needed.

Instructions

设置邮件标记(默认星标 \Flagged);email_id 格式为 folder:uid,如 INBOX:1

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagNo\Flagged
email_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are present, so the description carries the disclosure burden. It mentions the default flag behavior and the email_id format, which adds value beyond the tool name. However, it does not state effects such as replacing existing flags, permission requirements, or failure behavior.

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?

The description is a single dense sentence with no filler. It front-loads the action and includes the two most important invocation details: the default flag and the email_id format.

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, has only two parameters, and has an output schema, so the description covers the main calling pattern. It omits full flag parameter semantics and any usage exclusions, making it adequate but not complete.

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%, so the description must compensate. It clearly defines email_id as folder:uid with an example and confirms the default \Flagged flag. However, it does not explain which other flag values are accepted or how to specify a non-default flag.

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?

The description uses a specific verb (设置/ set) and resource (邮件标记/ email flag), and adds the key detail that email_id must be folder:uid. It clearly identifies the tool's purpose, though it does not explicitly differentiate it from sibling tools such as mark_read or pin_email.

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?

No when-to-use guidance, prerequisites, or alternatives are provided. The description gives formatting details but never explains when to choose set_flag over related email actions or when not to use it.

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/pp123ys/email-mcp-server'

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