Skip to main content
Glama

What is new

whats_new
Read-only

Track mail changes since a stored state: created, updated (moved or flagged), and deleted messages, oldest first with IDs only, across one or more accounts.

Instructions

What changed since an earlier call: mail created, updated (moved, flags) or deleted, oldest first, ids only. Of one account, several or all. Call once without since to get a state, later pass that state as since. With more, call again at once. It reads only. get_message reads a new mail. To find mail by its content, use search_messages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many changes in one answer
sinceNostate of the previous call. Left out: no changes, only the state to start from
account_idNoOne account. Left out: every account, or those of account_ids
account_idsNoSeveral accounts, not beside account_id. Left out: every account

Output Schema

NameRequiredDescriptionDefault
moreYes
noteYes
stateYes
changesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.8.0
    • addedOutput schema / $defs
      Added value: +{
      +  "Change": {
      +    "description": "A change of the feed: its type and the message's ids.",
      +    "properties": {
      +      "account_id": {
      +        "title": "Account Id",
      +        "type": "string"
      +      },
      +      "at": {
      +        "title": "At",
      +        "type": "string"
      +      },
      +      "id": {
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "type": {
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "id",
      +      "account_id",
      +      "at"
      +    ],
      +    "title": "Change",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"A page of the change feed, and the state to pass as since."
    • addedOutput schema / properties
      Added value: +{
      +  "changes": {
      +    "items": {
      +      "$ref": "#/$defs/Change"
      +    },
      +    "title": "Changes",
      +    "type": "array"
      +  },
      +  "more": {
      +    "title": "More",
      +    "type": "boolean"
      +  },
      +  "note": {
      +    "title": "Note",
      +    "type": "string"
      +  },
      +  "state": {
      +    "title": "State",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "changes",
      +  "state",
      +  "more",
      +  "note"
      +]
    • changedOutput schema / title
      Previous value: -"whats_newDictOutput"New value: +"Changes"
  2. 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 and openWorldHint, so the safety profile is given; the description adds ordering (oldest first), payload shape (ids only) and cursor/state semantics that annotations do not convey. The phrase 'With more, call again at once' is the one behavior left vague, since it does not say whether the response signals truncation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, leading with the change-set definition before the usage pattern and alternatives. Some sentences are compressed to the point of ambiguity ('With more, call again at once'), which costs a bit of clarity without adding bulk.

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

Completeness4/5

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

With an output schema present and full schema coverage, the description need not document returns or parameters in detail, and it covers the delta/state workflow that schema fields cannot express. The only gap is the unspecified truncation/pagination signal, which matters for a tool whose result set is bounded by limit.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining the lifecycle of since (first call without it yields the state) rather than just restating the field. It does not add anything about limit or the account_id/account_ids mutual exclusion, which the schema already handles.

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 names a specific operation and scope: what changed since an earlier call, covering mail created, updated (moved, flags) or deleted, returned oldest first as ids only. It also explicitly separates itself from get_message (reads a new mail) and search_messages (find by content), so an agent can place it without opening a schema.

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 gives the exact calling pattern: call once without since to obtain a state, then pass that state as since. It also states what to do when there are more changes (call again at once) and redirects content-based lookup to search_messages, so when-to-use and when-not-to-use are both covered.

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