Skip to main content
Glama

Zulip MCP Server

by avisekrath

get-messages

Retrieve messages from Zulip using advanced filters such as stream, topic, sender, or search. Specify anchor points, message counts, or message IDs for precise results.

Instructions

Retrieve messages from Zulip with advanced filtering options.

Input Schema

NameRequiredDescriptionDefault
anchorNoStarting point: message ID, 'newest', 'oldest', or 'first_unread'
message_idNoGet specific message by ID instead of using anchor/num parameters
narrowNoFilters: [['stream', 'channel-name'], ['topic', 'topic-name'], ['sender', 'email'], ['search', 'query']]
num_afterNoNumber of messages after anchor (max 1000)
num_beforeNoNumber of messages before anchor (max 1000)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "anchor": { "anyOf": [ { "type": "number" }, { "enum": [ "newest", "oldest", "first_unread" ], "type": "string" } ], "description": "Starting point: message ID, 'newest', 'oldest', or 'first_unread'" }, "message_id": { "description": "Get specific message by ID instead of using anchor/num parameters", "type": "number" }, "narrow": { "description": "Filters: [['stream', 'channel-name'], ['topic', 'topic-name'], ['sender', 'email'], ['search', 'query']]", "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, "num_after": { "description": "Number of messages after anchor (max 1000)", "maximum": 1000, "type": "number" }, "num_before": { "description": "Number of messages before anchor (max 1000)", "maximum": 1000, "type": "number" } }, "type": "object" }

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/avisekrath/zulip-mcp-server'

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