Skip to main content
Glama

gmail_search_unread_from

Locate unread Gmail messages from a specific sender or domain, with an optional result limit. Use it to prioritize replies and clear unread mail from key contacts.

Instructions

Find unread messages from a sender or domain

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": {
      "from": "<from>"
    },
    "name": "gmail_search_unread_from"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesemail or domain
maxResultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it does little: 'Find' implies a read but never says so, and nothing is said about result ordering, the default cap of 10 results, whether it searches all mail or only the inbox, or whether spam/trash are included. For a search tool with zero annotation coverage this is a real gap.

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?

A single eight-word sentence, front-loaded with verb and resource, with zero filler. Nothing could be removed without losing scope information.

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?

For a two-parameter, no-output-schema tool this is minimally adequate: an agent can form a valid call. It is incomplete on return shape, mailbox scope, and result limits, all of which an agent would need to use results confidently.

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

Parameters2/5

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

Schema coverage is 50%: 'from' is documented as 'email or domain' and maxResults has only a default of 10 with no description. The description repeats the schema's 'sender or domain' wording and adds nothing about maxResults semantics (cap? pagination? max allowed?), so it fails to compensate for the undocumented parameter.

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 (find) and a specific resource (unread messages) narrowed by sender/domain, which distinguishes it from a general gmail_search. It does not name a sibling explicitly, but the unread-from-sender scope is clear enough for an agent to select it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: reach for this when you want unread mail from a particular person or domain. There is no explicit when-not guidance, no mention of how it differs from gmail_search or gmail_get_thread, and no preconditions (e.g., mailbox scope) stated.

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