Skip to main content
Glama

MIDAS Email & Newsletter MCP

midas_get_embed_snippet

Generate ready-to-paste zero-CSS-conflict Shadow DOM Web Component HTML modal, Next.js 1-line proxy (@midas-aem/client/next), and React snippets pre-filled with the Gong midas_pk_ key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gongSlug": "<gongSlug>"
    },
    "name": "midas_get_embed_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
gongSlugYesSlug or ID of the target Gong channel
headlineNo
themeModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the shape of the output (three distinct snippet flavors, Shadow DOM isolation, a public-key prefill), which is meaningful context. However, it never states whether this is strictly read-only or whether a midas_pk_ key is created/looked up as a side effect, nor what happens if the channel has no key or the slug is invalid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no wasted sentences, and each clause maps to a real output artifact. The stack of modifiers ('zero-CSS-conflict Shadow DOM Web Component HTML modal') is marketing-dense and slows parsing of an otherwise tight definition.

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

Completeness3/5

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

Because there is no output schema, the description must describe the return value — and it does, listing the three snippet types. But for a 3-parameter tool with two undocumented parameters and no annotations, it leaves too much of the invocation surface and side-effect profile unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% — only gongSlug is documented in the schema. The description reinforces that the slug targets a Gong channel and that the key is prefilled, but it says nothing about `headline` (undocumented in both places) or `themeMode`, whose 'custom' vs 'match-host' semantics are left entirely to the enum values.

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 names a specific action (generating embed snippets) and enumerates the three concrete deliverables: a Shadow DOM Web Component HTML modal, a Next.js proxy import from @midas-aem/client/next, and a React <MidasModal /> component. That is enough to distinguish it from every listed sibling, none of which produce embed code. It falls short of 5 only because the name says 'get' while the description says 'generate', leaving a small ambiguity about whether anything is created.

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

Usage Guidelines2/5

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

There is no explicit statement of when to call this versus alternatives, and no prerequisites are spelled out. The phrase 'pre-filled with the Gong midas_pk_ key' hints that a Gong channel with a key must already exist, but the agent must infer this. No when-not-to-use or follow-up guidance is given.

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.

Resources