Skip to main content
Glama

Get PubNub Chat SDK Documentation

get_chat_sdk_documentation

Retrieve Chat SDK documentation to implement chat features like typing indicators, read receipts, and message threads in your messaging application.

Instructions

Retrieve Chat SDK documentation for building chat/messaging applications.

  **When to use:**
  - Building ANY chat or messaging application (1:1, group, channels)
  - Need typing indicators, read receipts, @mentions, unread counts
  - Want message threads, reactions, pinned messages, moderation
  - Need user/channel management with chat-specific features
  - Prefer rapid development with intuitive methods like sendText(), startTyping(), join()

  **Do NOT use for:**
  - Non-chat real-time apps (IoT, gaming state, analytics) → use "get_sdk_documentation"
  - Conceptual guides → use "how_to"

  **Example features:**
  - messages-send-receive, messages-threads, messages-reactions
  - channels-create, channels-join, channels-typing-indicator
  - users-mentions, users-presence

  Returns code examples and API references for the specified language/feature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageYes
featureYes
Behavior4/5

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

With no annotations, the description carries full burden. It states it returns code examples and API references, which is sufficiently transparent for a read-only documentation tool, though it could elaborate on return format or limitations.

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?

Well-structured with sections and bullet points, front-loaded with purpose. Slight redundancy in listing features twice, but overall concise and easy to scan.

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?

For a simple documentation retrieval tool with 2 enum parameters and no output schema, the description provides complete context on usage, features, and expected output, enabling correct tool selection.

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%, and the description does not explicitly detail each parameter. It implicitly refers to language and feature, but the enum values are mostly self-explanatory; missing explanations for less obvious ones like 'messages-drafts_v1'.

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 retrieves Chat SDK documentation for building chat/messaging applications, lists example features, and distinguishes from siblings like get_sdk_documentation and how_to by specifying scope and alternatives.

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 'When to use' and 'Do NOT use for' sections provide clear guidance on appropriate contexts and alternatives, naming get_sdk_documentation for non-chat and how_to for conceptual guides.

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

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