Skip to main content
Glama

Act on messages from the inbox view

inbox_view_action
Destructive

Used by the interactive inbox view when the person clicks Archive, Trash, Star, or Label. Only reversible actions; each returns an undoId. Reporting spam is not one of them: it goes through propose_mark_spam then confirm_mark_spam. VIP mail is skipped in bulk and needs vipConfirmed from the view's own confirmation click. Agents should use archive_messages, trash_messages, star_messages and the other message tools instead.

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": {
      "action": "<action>",
      "items": "<items>"
    },
    "name": "inbox_view_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
actionYes
labelIdsNo
vipConfirmedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds real value beyond the annotations: every call returns an undoId, VIP items are skipped in bulk unless vipConfirmed is supplied, and spam is deliberately out of scope. There is mild tension with destructiveHint=true since the text says 'only reversible actions,' but reversibility-via-undo and destructiveness are not mutually exclusive, so this reads as clarification rather than contradiction. Missing minor detail: whether skipped VIP items are reported or fail the batch.

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?

Front-loads the purpose, then the agent redirect, then edge cases; every sentence carries information. Slightly dense and run-on, and the action list is presented informally as UI clicks rather than matching the enum exactly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by stating that each call returns an undoId. With a UI-originated batch mutation and four params, it covers reversibility, the VIP gate, and the spam exclusion — enough for correct invocation, though the 50-item batch limit and the read/unread/unstar actions are left to the schema.

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 description coverage is 0%, so the description has to carry parameter meaning. It covers vipConfirmed's role and implies labelIds via the 'Label' click, and 'bulk' hints at the items array, but the action enum's read/unread/unstar values and the inboxId+messageId item shape are never mentioned. With a 7-value enum and a 50-item cap undocumented, the description compensates only partially.

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?

States a specific verb situation (perform an inbox-view action) and enumerates the concrete triggers: Archive, Trash, Star, Label clicks. It also names the sibling tools that agents should use instead, so the agent can distinguish it from archive_messages/trash_messages/star_messages without reading 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?

Explicit about when it applies (interactive view clicks), when it does not (agents should use archive_messages, trash_messages, star_messages), and routes the spam case to propose_mark_spam/confirm_mark_spam. It also states the VIP precondition (bulk skips VIP mail; vipConfirmed required), which is a real gating rule rather than vague context.

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