Skip to main content
Glama

Dayze — Life in Days + Notable People

Search Gmail (read-only)

search_gmail
Read-onlyIdempotent

Search the authenticated user's already-connected Gmail inbox (read-only). Reuses the Dayze Integrations hub Gmail connection (service_connections provider=gmail, scope gmail.readonly) — no new OAuth vendor. Prefer Gmail operators: from:, subject:, is:unread, newer_than:7d, has:attachment. Returns id, subject, from, date, snippet only (no body). Follow up with read_gmail_message for the full body. Cannot send, archive, or delete. Never invent email contents. If Gmail is not connected, connect at /integrations. Requires API key or OAuth with scope context. Share tokens cannot call this tool. ($0.10; API key required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoAlias for query
queryYesGmail search query, e.g. "is:unread newer_than:7d", "from:airline subject:itinerary", "receipt newer_than:30d"
max_resultsNoMax messages to return (default 10, max 20)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
messagesYes
result_size_estimateYes

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, the description reveals the connection reuse model, no-new-OAuth behavior, limited result fields, inability to mutate, cost, and a hallucination guard ('Never invent email contents'). No contradiction with annotations.

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?

The description is dense but front-loaded: purpose first, then auth, query guidance, return shape, and routing in logical order. Every sentence carries distinct operational information, and the cost/auth line is concise at the end.

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?

For a search tool with output schema and annotations, this is complete: it covers prerequisites (connection/API key), behavioral limits, result scope, follow-up path, and failure guidance. An agent has everything needed to select and invoke it correctly.

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 adds useful query syntax guidance with operators like from:, is:unread, newer_than:7d, and has:attachment. It does not repeat parameter names but complements the schema's examples.

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 states a specific verb ('Search'), resource ('the authenticated user's already-connected Gmail inbox'), and mode ('read-only'), and explicitly scopes the return value to metadata fields without body. It also distinguishes itself from the sibling read_gmail_message by directing follow-up there.

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 concrete when-to-use context: prefer Gmail operators, follow up with read_gmail_message for bodies, and clearly excludes send/archive/delete. It also provides setup guidance for unconnected Gmail and states auth restrictions (API key/OAuth vs share tokens).

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.

TDQS

B3.3/5.0
Disambiguation3/5

Most tools target distinct resources, but get_context_pack and get_life_context overlap heavily, and get_money_between_people is an intentional duplicate alias of get_person_transactions. The rest are mostly clear due to explicit descriptions.

Naming Consistency4/5

Naming is predominantly verb_noun snake_case with clear families (get_*, log_*, update_*, search_*, notable_*). Minor inconsistencies: create_person breaks the add_inventory_* pattern, and one-off verbs like record_, attach_, merge_ are not part of a uniform scheme.

Tool Count1/5

With 64 tools, this far exceeds the 50+ extreme threshold. The broad personal-life domain justifies many tools, but the count creates significant selection overhead and feels bloated, especially with redundant aliases and overlapping context pack variants.

Completeness4/5

The set covers inventory, CRM, events, food, expenses, travel, places, photos, Gmail, and notable-people lookup with strong read/write/search coverage. Minor gaps include no delete operations for events/people/food (only archive/update) and no explicit place creation.