Skip to main content
Glama

Get email sync status

get_email_sync_status
Read-only

Get one email account's on-demand sync state: syncStatus (IDLE, SYNCING, COMPLETED, FAILED, CANCELLED), syncStartedAt, syncFinishedAt, lastSyncResult counts, lastError, lastSyncedAt and lastActivityAt. Poll it after trigger_email_sync or stop_email_sync until syncStatus leaves SYNCING. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_email_sync_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEmail account id (UUID from list_email_accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the closing 'Read-only.' mostly restates structured data. The description does add genuine behavioral context, though: the full enum of terminal/intermediate states and the fact that SYNCING is the state to wait out, which tells the agent how to interpret the response over time. Missing rate-limit or polling-interval guidance keeps it from a 5.

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 dense sentences, front-loaded with the purpose and return fields, then the polling directive. Every clause carries information; there is no filler.

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?

There is no output schema, so the description's field enumeration is doing essential work in telling the agent what to expect back. Combined with the state-transition guidance, an agent has everything needed to call and interpret this tool correctly.

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?

Only one parameter, and schema coverage is 100%, with the schema itself explaining the UUID format and its origin (list_email_accounts). The description adds nothing about the id beyond 'one email account's', so the baseline 3 applies.

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: 'Get one email account's on-demand sync state', then enumerates exactly which fields are returned (syncStatus, timestamps, counts, lastError). This is unmistakably distinct from siblings like trigger_email_sync or get_email_preferences.

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?

Gives an explicit operational rule: poll after trigger_email_sync or stop_email_sync until syncStatus leaves SYNCING. It names the specific sibling tools and the termination condition, leaving nothing for the agent to infer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources