Skip to main content
Glama

Set allowed embed domains

set_embed_domains
DestructiveIdempotent

Replace the list of websites allowed to show this account's player and chat iframes, for example the company website so nobody else can embed the stream. This REPLACES the whole list: call get_embed_domains first and send the full list you want to keep. Entries: example.com, www.example.com or *.example.com (scheme and port are ignored), at most 50. An empty list allows every website, so do not send an empty list unless the user wants that. The list belongs to the account and applies to all its streams and videos. Confirm with the user before changing it.

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": {
      "domains": "<domains>"
    },
    "name": "set_embed_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesFull list of allowed websites, e.g. ["intranet.company.com", "*.company.com"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the replace semantics are partly structured. The description nonetheless adds real context beyond them: the read-modify-write pattern required, that an empty list opens embedding to every site, and that the list is account-wide across all streams and videos. It does not describe what happens to in-flight embeds after a change, keeping it below the top mark.

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-loads the replace warning before the mechanics, which is the right order. It is a bit dense with several imperatives and two separate warnings, but each sentence carries actionable content.

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?

A single-parameter mutation with no output schema needs exactly this: replacement semantics, prerequisite read, empty-list consequence, entry format, and a confirmation requirement. Nothing an agent needs to invoke it safely is missing.

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% and the single parameter is documented with an example, so the baseline is 3. The description earns an extra point by explaining wildcard semantics (*.example.com), that schemes and ports are ignored, and the 50-entry cap.

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?

Opens with a specific verb and resource: "Replace the list of websites allowed to show this account's player and chat iframes." It also names the sibling read tool and routes correctly (get_embed_domains for the current list), so it is distinguishable from adjacent embed-code tools.

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 states the workflow: call get_embed_domains first, send the full list you want to keep, and do not send an empty list unless the user wants that. It also instructs the agent to confirm with the user before changing it, giving clear when/when-not guidance.

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.