Skip to main content
Glama

mosADD — the comms layer for AI agents

comms_embed_create

Embed a LIVE mosadd chat channel into an app/site you're building (great for builder-agents on Lovable/Bolt/Cursor/v0). Mints a publishable embed key scoped to a channel + the app's domain(s) and returns a ready-to-paste HTML snippet (a + ). Visitors of the host page chat in real time (anonymous nick or mosadd login). REQUIRES allowed_origins — the domain(s) the app is served from (the key only works there). The publishable key is browser-safe (mints only channel-scoped JWTs); your hub key never leaves the server. Returns { embed_key, channel, allowed_origins, snippet }.

Input Schema

NameRequiredDescriptionDefault
anonNoAllow visitors to join with just a nick (no mosadd account). Default true.
modeNoKey mode — 'test' for local/dev origins, 'live' for production. Default 'live'.
nameNoLabel for the key in the owner's dashboard. Default 'embed: <channel>'.
skinNoVisual skin. Default 'default' (mosadd-branded retro mIRC).
titleNoHeader title shown in the widget. Default 'mIRC'.
localeNoWidget UI language. Default 'en'.
channelYesThe mIRC channel id everyone on the embed shares (e.g. 'acme-support'). Auto-created on first message if new.
positionNoWhere the widget renders. Default 'inline'.
allowed_originsYesREQUIRED. Domain(s) where the widget will be served — the key only works from these origins. Use the host(s) of the app you're building, e.g. ['app.acme.com','*.acme.com']. For local testing use mode:'test' and e.g. 'localhost:3000'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the single readOnlyHint:false annotation by disclosing the security model (publishable key is browser-safe, mints only channel-scoped JWTs, hub key never leaves the server) and the consequence of a misconfigured origin (key only works on declared domains). It also states the return shape, which the absent output schema would otherwise leave blank.

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?

Front-loaded with the action and outcome, then the hard requirement, then the security note and return shape. It is dense and parenthetical-heavy, but nearly every clause carries information an agent needs; only the framework name-drops are mildly expendable.

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 9-parameter mutation tool with no output schema, the description covers the required inputs, the origin-scoping constraint, the dev-vs-prod mode, the security posture, and the exact return keys. An agent has everything needed to invoke it correctly without opening the schema.

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 the baseline is 3, but the description adds cross-parameter meaning the schema can't: it ties allowed_origins to the runtime constraint and pairs mode:'test' with localhost-style origins. That linkage is genuinely useful beyond the per-field descriptions.

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?

States a specific verb and resource ('Embed a LIVE mosadd chat channel into an app/site') and the concrete artifact produced (embed key + ready-to-paste HTML snippet). Clearly distinct from sibling mIRC_* channel-management tools and mIRC_mint_channel_token.

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

Usage Guidelines4/5

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

Gives explicit context (builder-agents on Lovable/Bolt/Cursor/v0) and the required precondition that allowed_origins must be the app's serving domains, plus guidance on mode:'test' for local/dev origins. It does not explicitly name which sibling tool to use instead if you only need a raw channel token, so it stops just short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.