Skip to main content
Glama

follow_ups

Read-only

Identify email threads awaiting your reply and threads where you are still waiting on someone, so you can act on the right conversations.

Instructions

Who is waiting on whom. waitingOnThem: threads whose LAST message is yours (SENT) and has had no answer for at least nudgeAfterDays — candidates for a nudge; a note to yourself (every To and Cc address is the account's own primary address, in any spelling Gmail delivers to it: +tags, dots, googlemail.com) is left out; one other recipient keeps it. waitingOnMe: threads still in the inbox whose last message came from someone else — a person, not a newsletter or an automated notice by its own headers — oldest first. Decided on each thread's last message and its LIVE labels: the search index only proposes candidates (in:sent / in:inbox within the last days), so a thread the index still files under the inbox after it was archived is dropped, as in search. Drafts, trash and spam messages do not count as a thread's last word. Scans at most max threads per side; hasMore says when more candidates existed. A thread with no recorded date is left out rather than given an invented age. USE WHEN: 'what am I waiting on?', 'who have I not answered?', 'what should I follow up on?' DO NOT USE: as an inbox overview (use triage_digest) or to read a thread (use get_thread). SIDE EFFECTS: none.

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": "follow_ups"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
daysNo
nudgeAfterDaysNo

Output Schema

NameRequiredDescriptionDefault
hasMoreYes
scannedYes
waitingOnMeYes
waitingOnThemYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.32.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv0.25.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv0.23.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes far beyond that by disclosing the self-note exclusion rule (all To/Cc are the account's own address in any spelling, with one other recipient keeping it), the newsletter/automated-notice filter, the rule that drafts/trash/spam don't count as a thread's last word, that decisions use LIVE labels while the search index only proposes candidates (so stale-index threads are dropped), the per-side max scan, the hasMore truncation signal, and that dateless threads are omitted rather than given an invented age. That is substantive behavioral context an agent could not derive from the annotations or schema.

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?

Well front-loaded: the core question comes first, then per-side definitions, then mechanics, then USE WHEN / DO NOT USE / SIDE EFFECTS. Nearly every sentence carries real information, but the self-note parenthetical and the index-vs-live-labels sentence are dense run-ons that take a second pass to parse.

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?

The tool has an output schema (including hasMore) so return values need not be described, and the description covers everything else an agent needs: what each side means, the filtering exclusions, the truncation behavior, and when to prefer a sibling. No prerequisite or side-effect information is missing, and it correctly states there are no side effects, consistent with readOnlyHint.

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 description coverage is 0%, so the description must carry the burden, and it does name all three parameters in context: nudgeAfterDays sets the no-answer threshold for waitingOnThem, days bounds the search window, and max caps threads scanned per side with hasMore reporting truncation. It stops short of restating defaults and bounds (which the schema supplies) and never explains what happens to max when hasMore is true or how the two sides split the budget, so it is strong but not exhaustive.

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?

Opens with a concrete framing ('Who is waiting on whom') and then defines the two return partitions, waitingOnThem and waitingOnMe, by their exact selection criteria (last message SENT vs. last message from another person, still in inbox). This is a specific verb-plus-resource statement that an agent can distinguish from get_thread or triage_digest without opening the 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?

Explicit USE WHEN block maps three natural user phrasings ('what am I waiting on?', 'who have I not answered?', 'what should I follow up on?') to this tool, and the DO NOT USE block routes two adjacent intents to named alternatives: triage_digest for an inbox overview and get_thread for reading a thread. Both the positive and negative conditions are stated, leaving nothing to inference.

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