Skip to main content
Glama

List job emails

list_job_emails
Read-only

List the emails linked to one job — its conversation, newest first — with each email's id, thread id, received date, processing status, classified intent, confidence and the status it proposed; never sender, subject or body. For mail not yet on any job use list_unresolved_emails. Read-only; a job outside the caller's profiles is refused. Returns an array, empty when nothing is linked.

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": {
      "jobId": "<jobId>"
    },
    "name": "list_job_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesJob id (UUID from list_jobs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

readOnlyHint already declares the safety profile, but the description adds real context beyond the annotations: the caller-scoped refusal ('a job outside the caller's profiles is refused'), the exact field projection with explicit exclusions ('never sender, subject or body'), the sort order and the empty-array return. The only gap is pagination or size limits for long conversations.

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?

Two dense sentences that front-load scope, ordering and field list before the sibling routing. The em-dash chain in the first sentence is slightly heavy but carries 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?

For a one-parameter read tool with no output schema, the description covers the returned shape, the empty case, ordering and the authorization refusal — everything an agent needs to call it and interpret the result.

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

Parameters3/5

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

With a single parameter at 100% schema coverage, the schema already documents jobId as a UUID sourced from list_jobs, and the description adds no format or sourcing detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 and resource ('List the emails linked to one job'), gives the ordering ('newest first') and enumerates the returned fields, so an agent can distinguish it from the other list_* tools without opening any 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 names the alternative explicitly — 'For mail not yet on any job use list_unresolved_emails' — giving both the condition that selects this tool and the condition that selects the sibling. Nothing about tool choice is left to inference.

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