Skip to main content
Glama

List, create or update previews

bdk_setup_preview
Destructive

Creation requires intent:new; legacy app_link + preview_id updates that selected preview. list returns account preview names, published URLs, IDs and creation times. new calls the portal preview-manage create path (same-URL reuse and 20-preview cap); update requires the customer-selected preview_id and replaces that link. Published-link checks reject editor and builder-share links. At cap: Delete an existing preview to add another. Password protection and credentials, including clearing them, stay human-only on the portal. Pairing stays on the customer’s phone, never in chat. On iPhone only own previews open.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bdk_setup_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name for new preview.
intentNoCustomer intent; never infer updating an existing preview when they ask for a new one.
app_linkNoApproved published app URL on a site the customer owns, for new or update.
preview_idNoCustomer-selected existing preview ID, required for update and omitted for new.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / app_link / description
      Previous value: -"Approved published app URL for new or update."New value: +"Approved published app URL on a site the customer owns, for new or update."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, openWorld=true, idempotent=false), the description discloses a 20-preview cap, same-URL reuse on create, rejection of editor and builder-share links for published-link checks, that update replaces the existing link, and that credential clearing is human-only on the portal. It also flags a platform constraint ('On iPhone only own previews open'), which the annotations do not convey. Nothing here contradicts the declared destructive/write profile.

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?

Roughly 110 words with no filler, and each sentence carries a distinct operational rule (cap, link validation, human-only boundaries, platform limit). Structure is the weak point: it is a dense telegraphic paragraph that begins mid-topic ('Creation requires intent:new') and would read better organized by the list/new/update modes.

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?

For a destructive, multi-mode, open-world tool this covers a lot: return fields for list, create and update semantics, the preview cap, link validation, and human-handoff boundaries. With no output schema, some gaps remain — no mention of pagination or ordering for list, and no statement of required permissions or what a failed create returns.

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, but the description adds real meaning: intent drives three distinct code paths, app_link must be an approved published URL on a customer-owned site, and preview_id is customer-selected and omitted for new. Remaining gap is minor — no guidance on what happens if name is duplicated or what format preview_id takes.

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 concrete verbs and resources for each mode ('list returns account preview names, published URLs, IDs and creation times', 'new calls the portal preview-manage create path', 'legacy app_link + preview_id updates that selected preview'), so an agent can distinguish list/new/update behavior. It falls short of 5 because the opening sentence dives into the update path rather than stating the tool's overall purpose, and no sibling tool is named as an alternative.

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?

It gives explicit routing rules per intent ('Creation requires intent:new', 'update requires the customer-selected preview_id') and a hard exclusion ('never infer updating an existing preview when they ask for a new one'). It also states what to do at the 20-preview cap ('Delete an existing preview to add another') and which tasks must be handed to a human (password protection and credentials, pairing on the customer's phone).

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