Skip to main content
Glama

get_inbox

Get messages from your monitored LinkedIn inbox, including standard and Sales Navigator conversations, newest first. Filter by type, date, or thread.

Instructions

Get messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. Requires inbox monitoring to be enabled once with sync_inbox (or nv_sync_inbox for Sales Navigator).

Linked API actions are queued into a cloud-browser workflow and may take several minutes. The server returns immediately after starting the workflow with {status: 'pending'|'running', pendingReason, workflowId, operationName, message}. To retrieve the final result, call get_workflow_result with the returned workflowId and operationName — it will long-poll until completion or the request budget elapses, then return either the final result or another in-progress snapshot. Do not retry the original tool while a workflow is still running; that creates duplicate queued work.

A pending workflow carries pendingReason: 'queued' means it is waiting its turn behind other work on the same account and will start within minutes. 'outsideWorkingHours' means the account has configured working hours and the workflow is parked until they reopen — possibly the next working day. In that case get_workflow_result returns immediately instead of polling, message states when the window opens, and you should report that to the user rather than looping.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOptional inbox type filter: "st" for standard messages, "nv" for Sales Navigator messages. If omitted, both are returned.
sinceNoOptional ISO 8601 timestamp to only retrieve messages after this date (e.g., '2024-01-15T10:30:00Z'). If not provided, all captured messages are returned.
threadIdNoOptional conversation thread identifier to restrict the result to a single thread.
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's asynchronous behavior: it queues a cloud-browser workflow, returns an immediate status snapshot, and requires long-polling via get_workflow_result. It also explains pendingReason values ('queued' vs 'outsideWorkingHours') and how get_workflow_result behaves in each case, covering what the agent needs to know beyond the schema.

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?

The description is front-loaded with the core purpose, then logically builds to prerequisites, async workflow, and pending handling. Every sentence carries essential information without fluff or repetition. It is longer than average but appropriately detailed for a complex async tool, and the structured progression aids comprehension.

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?

Given that this is an async tool with no output schema and no annotations, the description is remarkably complete: it specifies the immediate return payload fields, the follow-up call to get_workflow_result, the meaning of pending reasons, and even how to communicate waiting periods to the user. This covers all necessary context for correct invocation and result retrieval.

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?

Schema coverage is 100% (type, since, threadId all have descriptions), so the baseline is 3. The tool description itself does not add significant parameter-level detail beyond what the schema already provides; it mainly reiterates that type filters standard vs Sales Navigator, which is already in the schema enum descriptions. Thus it meets the baseline but does not exceed it.

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 clearly states the tool retrieves messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. This distinguishes it from siblings like get_conversation and retrieve_connections, and it includes a prerequisite (sync_inbox) that further clarifies its role.

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?

The description explicitly explains when to use this tool (after enabling inbox monitoring) and how to handle asynchronous results: use get_workflow_result with the returned workflowId/operationName, and do not retry the original tool while a workflow is running to avoid duplicate work. It also describes pending reasons and appropriate user reporting, providing clear usage guidance and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/zecloud/remote-mcp-linkedin'

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