Skip to main content
Glama

List unresolved emails

list_unresolved_emails
Read-only

List ingested emails not yet connected to any job — the pool available to link — from mailboxes on profiles the caller can access, newest first and unpaged. Each row carries id, thread id, received date, status, intent, confidence and proposed status; never sender, subject or body. Attach one with link_job_email; for a job's own emails use list_job_emails. Mail the mailbox itself sent (status SENT) is never listed: it is only logged on the contacts it went to. Read-only; returns an array.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description still adds ordering (newest first), lack of pagination, the returned array shape, and the exact columns including negative information that sender, subject and body are absent. It does not cover volume limits or what happens if no rows exist, but with annotations carrying the safety profile and the return shape spelled out this is a solid addition rather than a full behavioral brief.

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?

Front-loaded with the core scope clause, then the returned columns, then the routing alternatives, then the SENT exclusion. Every clause is load-bearing: negative field info, unpaged behavior, and sibling routing each prevent a distinct class of error, with 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?

No output schema exists, so the description carries the return-value burden and does so: array, field list, ordering, unpaged, and what is deliberately omitted. For a zero-parameter read tool it tells an agent everything needed to call it once and interpret the result 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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline is 4. The description correctly avoids inventing parameter guidance and instead spends its words on output shape and scope.

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?

Names a specific verb and resource with scope: ingested emails not yet connected to any job, i.e. the linkable pool, restricted to mailboxes on accessible profiles. It also explicitly separates itself from link_job_email and list_job_emails, so an agent can route correctly without opening a sibling 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?

Gives explicit next actions: attach with link_job_email, or use list_job_emails for a job's own emails. It also states an exclusion rule (mailbox-sent mail with status SENT is never listed, only logged on contacts), which prevents a wasted call when an agent is hunting for outbound replies.

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