Skip to main content
Glama
codefuturist

Email MCP Server

by codefuturist

Analyze email for scheduling

analyze_email_for_scheduling
Read-only

Analyze an email to detect calendar events or reminders, returning structured results so you can decide whether to create a calendar entry, reminder, both, or neither.

Instructions

Analyze an email to detect calendar events and/or reminder-worthy content. Returns structured analysis so the AI can decide whether to call add_to_calendar, create_reminder, both, or neither. Use this as the first step before creating any scheduling resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesEmail account name
mailboxNoMailbox containing the emailINBOX
email_idYesEmail ID from list_emails_metadata

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.2.3

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the no-side-effect profile is covered. The description usefully clarifies that the output is an analysis the agent interprets rather than an action, but says nothing about cost/latency (this appears to invoke analysis) or how the structured result should be consumed.

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 short sentences with the detection scope front-loaded, then routing guidance, then an explicit ordering rule. No filler or restatement of the tool name.

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?

There is no output schema, and since the entire value of this tool is the structured analysis it returns, the description should sketch what that structure contains (event vs reminder signals, confidence). It also omits any relationship to the extract_calendar sibling, which is a real gap for a pre-step tool.

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% and the required account/email_id plus optional mailbox are fully documented in the schema. The description adds no parameter-level meaning beyond 'an email', so the schema carries all semantic weight.

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?

States a specific verb (analyze) and resource (email) plus the scope of detection: calendar events and/or reminder-worthy content. It is clearly distinguishable from the create-side siblings (add_to_calendar, create_reminder), but it never addresses the closely named sibling extract_calendar, leaving overlap ambiguity.

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?

'Use this as the first step before creating any scheduling resource' gives explicit ordering guidance and names the downstream alternatives (add_to_calendar, create_reminder, both, neither). It stops short of saying when this analysis is unnecessary or how it differs from extract_calendar.

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