Skip to main content
Glama
OktoLabsAI

okto-nexus

by OktoLabsAI

inbox_peek

Triage pending unread and in-flight messages without consuming them. Returns read-only envelopes with previews and sizes by default; opt in to full bodies or parked messages.

Instructions

Triage pending messages (unread + in-flight) WITHOUT consuming. READ-ONLY, envelope-only by default (body_preview + body_bytes). include_parked/include_bodies opt in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax messages to return (optional; default 50, max 200; must be a positive integer).
profileNoResponse size profile - one of: default, summary, full (optional; summary trims per-call tokens).
agent_idYesYour agent_id - the GLOBAL inbox to read (a direct message reaches you in any workspace). REQUIRED.
include_bodiesNoReturn the FULL body instead of the envelope-only body_preview (first 200 chars) + body_bytes (optional; default false; inbox_pull is the way to consume a message).
include_parkedNoAlso show parked (dead-letter) messages that exhausted redelivery (optional; default false).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.10

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares READ-ONLY, states the default payload (body_preview + body_bytes), and flags which behaviors require explicit opt-in. It stops short of describing ordering, pagination, or what 'in-flight' concretely means for a caller.

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?

Three dense clauses with zero filler; the non-consuming read-only framing is front-loaded before the default and opt-in details.

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?

An output schema exists so return values need no explanation, and the description covers the read-only posture, defaults, and opt-ins. It is nearly complete, missing only hints about result ordering/volume expectations.

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%, so the schema already documents limit, profile, agent_id, include_bodies and include_parked in detail. The description only restates the include_parked/include_bodies opt-in defaults, adding little beyond the structured fields — the baseline 3 is appropriate.

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 ('triage/peek') and resource ('pending messages: unread + in-flight') and immediately scopes it as non-consuming, which cleanly separates it from the sibling inbox_pull. An agent can pick this over inbox_pull without opening either 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?

Gives clear context for when to use it (triage without consuming, envelope-only by default) and notes the opt-in flags for deeper inspection. It never names inbox_pull as the consuming alternative in the description itself, so the when-not is only implied.

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