Skip to main content
Glama
kuklaph
by kuklaph

List User Messages

cascade_list_messages
Read-onlyIdempotent

Retrieve internal Cascade mailbox messages for the authenticated user, including workflow requests, notifications, and alerts. Supports pagination with limit and offset parameters.

Instructions

List in-Cascade mailbox messages for the authenticated user.

Cascade has an internal message center — workflow requests, publish notifications, system alerts, and peer messages all land here. Returns all messages visible to the authenticated user (both unread and read, active inbox and archived, depending on your Cascade server's defaults). Message IDs from this list can be passed to cascade_mark_message or cascade_delete_message.

Args:

  • limit (number, optional): Max results per page, 1-500 (default 50)

  • offset (number, optional): Skip N results for pagination (default 0)

Returns: The response is a page: { success: true, total: , count: , offset: , has_more: , next_offset: <offset for next page, if has_more>, messages: [ { id, type: "message", to, from?, subject, date?, body }, ... ] } On failure: { success: false, message: "" }

Examples:

  • Use when: "What's in my Cascade inbox?" -> {}

  • Use when: "Check if workflow messages are waiting" -> {} then filter messages by subject.

  • Don't use when: You want an asset's relationships or subscribers — use cascade_list_subscribers.

  • Don't use when: You want audit events — use cascade_read_audits.

Pagination:

  • Default limit of 50 works for most inboxes. Increase up to 500 for larger ones.

  • If has_more is true and you need all messages, call again with offset: next_offset.

  • For focused queries (most recent only), stop as soon as you have what you need.

Error Handling:

  • "Authentication failed" when credentials are invalid

  • "Permission denied" when the user has no mailbox configured. Responses are JSON text; structuredContent is authoritative when the response fits. Oversized responses return bounded _cache metadata for cascade_read_response. For cascade_read, read_mode controls preview versus raw Cascade payload shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results per page (default: 50, max: 500). Check has_more and use next_offset to iterate. For a complete enumeration, loop until has_more=false.
offsetNoSkip this many results for pagination (default: 0). Use with limit + has_more to iterate through large result sets.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds significant behavioral context: lists both unread/read, active/archived depending on server defaults, pagination details, error handling (authentication failed, permission denied). A minor deduction for including a somewhat tangential note about JSON structuredContent and cache metadata, which may confuse rather than clarify.

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?

The description is well-structured with clear sections (Args, Returns, Examples, Pagination, Error Handling) and front-loaded purpose. However, it includes a somewhat generic paragraph about JSON structuredContent and cascade_read that is not directly relevant to this tool, slightly reducing conciseness.

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?

Despite no output schema, the description thoroughly documents the return format (including fields like total, count, offset, has_more, next_offset, messages array with subfields) and error responses. Pagination and error handling are fully explained, making it complete for a list tool with two optional parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with good descriptions for limit and offset. The description adds value by explaining pagination usage (e.g., 'Use with limit + has_more to iterate') and providing default values and ranges beyond the schema. This extra context justifies a 4 rather than a baseline 3.

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 it lists in-Cascade mailbox messages for the authenticated user, with specific verb 'list' and resource 'messages'. It distinguishes from siblings by noting that message IDs can be used with cascade_mark_message or cascade_delete_message, and gives explicit examples of when not to use this tool (e.g., for asset subscribers use cascade_list_subscribers).

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 provides explicit guidance on when to use (e.g., 'What's in my Cascade inbox?') and when not to use (e.g., 'Don't use when: You want an asset's relationships or subscribers — use cascade_list_subscribers'). It also gives alternatives and a clear example for checking workflow messages.

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/kuklaph/cascade-cms-mcp-server'

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