Skip to main content
Glama

pubnub_app_context

Manage user profiles, channel metadata, and membership relationships in PubNub applications. Perform CRUD operations like get, set, remove, and getAll to handle App Context objects efficiently.

Instructions

Manages PubNub App Context (Objects API) for users, channels, and memberships. Supports CRUD operations including get, set, remove, and getAll. Use this tool to manage user profiles, channel metadata, and membership relationships in your PubNub application.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData object for set/remove operations. For users: {name, externalId, profileUrl, email, custom}. For channels: {name, description, custom}. For memberships: {channels: [...]}
idYesIdentifier: UUID for users, channel name for channels, UUID for memberships (for membership getAll, use channel name to get channel members)
operationYesOperation to perform: "get" to retrieve, "set" to create/update, "remove" to delete, "getAll" to list all
optionsNoOptional parameters for the operation
typeYesType of App Context object: "user" for user metadata, "channel" for channel metadata, "membership" for user-channel relationships
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions CRUD operations but doesn't address critical behavioral aspects like authentication requirements, rate limits, error handling, whether operations are idempotent, or what happens on deletion. For a multi-operation tool with no annotation coverage, this represents a significant gap in transparency.

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 efficiently structured in two sentences that convey the core purpose and usage context without unnecessary elaboration. Each sentence earns its place by providing distinct information: the first establishes what the tool does, and the second provides application context. However, it could be slightly more front-loaded with the most critical information.

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

Completeness2/5

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

Given the tool's complexity (5 parameters, multiple operations and types, no output schema, and no annotations), the description is insufficiently complete. It doesn't explain what the tool returns for different operations, how errors are handled, or provide examples of common usage patterns. For a versatile CRUD tool with multiple operation types, more comprehensive guidance is needed.

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?

The description doesn't add meaningful parameter semantics beyond what's already in the schema, which has 100% coverage with detailed descriptions for all parameters. It mentions 'users, channels, and memberships' which aligns with the 'type' parameter, but provides no additional context about parameter interactions, dependencies, or usage patterns that aren't already documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool 'manages PubNub App Context (Objects API) for users, channels, and memberships' and 'supports CRUD operations including get, set, remove, and getAll', providing specific verbs and resources. However, it doesn't explicitly differentiate from sibling tools like 'write_pubnub_app' or 'manage_pubnub_account', which might have overlapping functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides implied usage guidance by stating 'Use this tool to manage user profiles, channel metadata, and membership relationships', which gives context for when to use it. However, it lacks explicit when-not-to-use scenarios or clear alternatives among the sibling tools, leaving some ambiguity about tool selection.

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

Related 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