Skip to main content
Glama

Get files received by email

tarkle_get_received_emails
Read-onlyIdempotent

The files that arrived by email (Email to Tarkle), newest first: who sent each email (address and contact name), when, which inbox (the workspace address, shown to owners, admins and members but not viewers, or the caller's own personal address; never another member's), the subject, how many files, the folder it went into and each file with its name, size, type, when it was saved and its index state (ready, reading, partial or not_readable). To say what a ready file is about, read it with tarkle_read_file or find passages with tarkle_search_files using its fileId; a recording comes back as a transcript with [m:ss] times. A file still being read has no summary yet: say so. Filters: inbox (all, workspace, personal), sender, days (default 30), limit (default 10, up to 50). Older emails may list no files.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "tarkle_get_received_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to look. Defaults to 30.
inboxNoWhich address to read: the workspace address, your own personal address, or both. Both are read when omitted.
limitNoHow many emails to return. Defaults to 10.
senderNoPart of the sender's email address.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
includeNotSavedNoAlso list emails that have no saved files. By default only emails with files are listed.

Output Schema

NameRequiredDescriptionDefault
daysNo
notesNo
totalNo
emailsNo
noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnly/idempotent annotations, it discloses ordering (newest first), permission-dependent visibility of the workspace address (owners, admins, members, not viewers) and the guarantee that another member's personal address is never exposed. It also defines index states (ready, reading, partial, not_readable), notes recordings come back as transcripts with [m:ss] timestamps, and explains that emails without saved files are excluded by default.

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?

Scope and ordering are front-loaded in the opening clause, followed by a tight field inventory, then filters, then edge cases — the sequence an agent needs. Sentences are dense but each carries distinct information: privacy rules, index-state meaning, and follow-up tool routing.

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 7-parameter read tool with an output schema and full annotation coverage, the description supplies everything else that matters: visibility rules, ordering, default filtering of empty emails, interpretation of index states, and which sibling to call next. Nothing needed to invoke or interpret the result is missing.

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 already 100%, so the baseline is 3, but the description adds real meaning for the inbox filter (workspace address vs. the caller's own personal address, never another member's) and restates the defaults and ranges for days and limit in the context of what is being filtered. Sender and includeNotSaved receive less explanation than the schema offers, keeping it from a 5.

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 names a specific resource and its scope: files that arrived via email ("Email to Tarkle"), newest first, with the exact per-email and per-file facts returned. That origin restriction separates it cleanly from sibling listing tools like tarkle_list_files and tarkle_search_files, and an agent can pick it 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 Guidelines4/5

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

It explicitly routes follow-up work to tarkle_read_file and tarkle_search_files by fileId, and warns that a file still being read has no summary yet and that older emails may list no files. It never explicitly contrasts itself with tarkle_list_files or tarkle_search_files for the initial lookup, so that routing is left implicit.

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.