Skip to main content
Glama
lobster-kit

mcp-server-lobstermail

by lobster-kit

list_threads

Retrieve conversation threads for an inbox, grouping related emails by reply chains or subject matching. Returns newest threads first with pagination support.

Instructions

List conversation threads for an inbox. Threads group related emails by In-Reply-To/References headers or subject matching. Returns newest threads first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_idYesInbox ID (e.g. ibx_...)
limitNoMax threads to return (default: 20, max: 50)
cursorNoPagination cursor from previous response

Implementation Reference

  • The actual implementation of the list_threads tool calls the inbox's listThreads method.
    const result = await inbox.listThreads({ limit, cursor });
  • src/index.ts:283-294 (registration)
    The list_threads tool is registered here with its input schema and handler function.
    server.registerTool('list_threads', {
      title: 'List Threads',
      description:
        'List conversation threads for an inbox. ' +
        'Threads group related emails by In-Reply-To/References headers or subject matching. ' +
        'Returns newest threads first.',
      inputSchema: {
        inbox_id: z.string().describe('Inbox ID (e.g. ibx_...)'),
        limit: z.number().optional().describe('Max threads to return (default: 20, max: 50)'),
        cursor: z.string().optional().describe('Pagination cursor from previous response'),
      },
    }, async ({ inbox_id, limit, cursor }) => {

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lobster-kit/mcp-server-lobstermail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server