Skip to main content
Glama

get-inbox

Retrieve tasks from your Things 3 inbox to view pending items and manage your workflow. Specify detail level and limit results for focused task review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNoResponse detail level. Defaults to compact.
limitNoMaximum number of todos to return

Implementation Reference

  • The "get-inbox" tool registration and handler implementation. It uses `getInboxTodos` helper to fetch inbox tasks from the database and `toTaskView` to format them.
      "get-inbox",
      {
        detail: z.enum(["compact", "full"]).optional().describe("Response detail level. Defaults to compact."),
        limit: z.number().int().positive().optional().describe("Maximum number of todos to return"),
      },
      async ({ detail, limit }) => {
        const requestedDetail = detail ?? "compact";
        const todos = await withDatabase((db) =>
          applyLimit(getInboxTodos(getAllTasks(db)), limit).map((task) =>
            toTaskView(task, requestedDetail)
          )
        );
        return buildTextResponse(`Found ${todos.length} inbox todos`, {
          todos,
          detail: requestedDetail,
          limit: limit ?? null,
        });
      }
    );

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/soycanopa/SupaThings-MCP'

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