Skip to main content
Glama

Create public share & embed link

create_share_link

Creates a revocable public guest-playable share URL and responsive iframe embed code for one of your ready puzzles. Guests can paint in Immersive 2.5D or Flat mode without signing in; progress stays in the guest's browser and never modifies your puzzle.

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": {
      "puzzle_id": "<puzzle_id>"
    },
    "name": "create_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDefault paint mode for visitors: 'immersive' (default, falls back to flat if not immersive) or 'flat'.
puzzle_idYesThe puzzle id a PaintLoom tool returned.
allow_embedNoWhether the puzzle may be embedded in an iframe on external websites. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the non-read-only, non-destructive, non-idempotent, closed-world profile. The description adds genuinely new behavioral facts: guests need no sign-in, guest progress stays in the browser, the puzzle itself is never modified, and the link is revocable. It does not clarify whether repeated calls mint separate links (relevant to idempotentHint=false) or what permissions are required, so it stops short of full disclosure.

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?

Two compact sentences with the artifact and the guest-experience guarantee front-loaded; every clause carries information and there is no filler.

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

Completeness4/5

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

With no output schema, the description usefully states what the caller receives (a share URL plus iframe embed code) and explains guest-side behavior and non-mutation of the puzzle. It lacks details on revocation mechanics, link lifetime, or repeat-call behavior, which are minor but real gaps for a link-minting tool.

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?

Schema description coverage is 100%, so all three parameters are already documented, including the immersive/flat enum and the allow_embed default. The description's mention of 'Immersive 2.5D or Flat mode' and 'iframe embed code' only loosely echoes those parameters without adding syntax or constraints, so the baseline 3 applies.

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 gives a specific verb and resource ('Creates a revocable public guest-playable share URL and responsive iframe embed code') scoped to 'one of your ready puzzles', which clearly separates it from the export_*, get_*, and generate_* siblings. An agent can identify exactly what artifact this produces.

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 phrase 'for one of your ready puzzles' implies a prerequisite (the puzzle must already exist and be ready), but there is no explicit when-to-use vs. when-not guidance and no alternative tool is named. Usage is inferable rather than stated.

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