Skip to main content
Glama

add_suprsend_object_subscriptions

Destructive

Subscribe one or more users or objects to a target object, optionally attaching metadata like role or joined_at.

Instructions

Subscribe one or more users or other objects TO this object. The recipient list can mix users and objects in a single call.

Recipients: users by distinct_id, objects by object_type + id. Each entry's shape follows the SuprSend recipient format. Optional properties attach metadata to each subscription (role, joined_at, etc.).

When NOT to use:

  • To remove subscribers — there is no remove tool; use the SuprSend API directly.

  • For mailing-list / segment membership — those are managed via the Lists API.

  • For preference changes on existing subscribers — use the per-user / per-object preference tools.

Side effects: each successful subscription is a separate row. Calling this twice with the same recipient creates duplicate-looking entries; check existing state with get_suprsend_object_subscriptions first if duplicates would be a problem.

Returns: the created subscription records on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_idYesThe object_id of the object's subscriptions to get.
object_typeYesThe type of object you want to get.
propertiesNoProperties of an user/object
recipientsYesUsers & Objects who are subscribing to an object
workspaceNoSuprsend workspace to get the object from.
Behavior5/5

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

Disclosures beyond annotations: calling twice creates duplicate-looking entries, suggests checking existing state, mentions side effects (separate row per subscription). Aligns with destructiveHint: true and readOnlyHint: false.

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?

Well-structured with clear sections and front-loaded core action. Every sentence adds value, no fluff.

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?

Covers all aspects: return value, side effects, when to avoid, and cross-references other tools. No output schema, but description explains return. For a complex tool with nested parameters, it is complete.

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%, so baseline is 3. Description adds value by explaining recipients structure ('users by distinct_id, objects by object_type + id') and optional properties. However, it could be more explicit about the SuprSend recipient format.

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 the action: 'Subscribe one or more users or other objects TO this object.' It distinguishes from siblings like get_suprsend_object_subscriptions and other subscription tools by specifying the direction and recipient format.

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?

Explicitly lists when NOT to use: removing subscribers (use API directly), mailing-list/segment membership (use Lists API), and preference changes (use per-user/preference tools). Provides clear alternatives.

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/suprsend/cli'

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