Skip to main content
Glama

Share a folder of photos as a gallery, free or paid

tarkle_create_gallery

Turn a folder of photos (folderId from tarkle_list_folders) into a public gallery at /g/. The photos are the JPG, PNG and WebP files directly in the folder, up to 500. Without a price (the default) it's a free gallery: everyone can view it, watermarked only if watermark is true. With a price it's a paid gallery: visitors see every photo as a lower-resolution watermarked preview (previewMode "all", the default) or only the first previewCount photos with the rest blurred ("first"); they pay with PayPal or card, whichever the workspace connected, then download every original for 30 days, with no account -- needs Pro and PayPal or Stripe connected in Settings > Integrations, otherwise the answer says what to do. Returns galleryUrl (/g/..., browse) and, only for a paid gallery, payUrl (/pay/..., opens checkout directly; after paying the buyer lands on the unlocked gallery). Creating it sends no email; a paid sale gets the buyer a receipt with their own download link, and the workspace owner a sale notice. Asks for confirmation first: the first call creates nothing and describes the gallery (photo count, price if any, client); ask the user, then call again with the same inputs and the confirmationCode from the first answer.

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": {
      "workspaceId": "<workspaceId>",
      "folderId": "<folderId>",
      "title": "<title>"
    },
    "name": "tarkle_create_gallery"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoThe price in the currency's main unit, for example "600" or "49.90". Omit it for a free gallery.
titleYesThe title of the gallery.
currencyNoThe currency the buyer pays in. One of USD, EUR, GBP, CAD, AUD, CHF, SEK, NOK, DKK, PLN, CZK, NZD, SGD, HKD, MXN. Only used with a price; USD when omitted.
folderIdYesThe folder of photos to share, from tarkle_list_folders.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
watermarkNoOnly for a free gallery -- a paid gallery is always watermarked until bought. Default false.
clientNameNoWho the gallery is for. It is shown on the gallery as "For <name>".
previewModeNoOnly for a paid gallery. "all" shows every photo as a watermarked preview; "first" shows only the first previewCount photos and blurs the rest. "all" is used when omitted.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
previewCountNoWith previewMode "first": how many photos show before payment. Default 3.
confirmationCodeNoThe code from the first answer of this tool for these exact inputs. Send it only after the user approved sharing (and, with a price, selling) this folder.

Output Schema

NameRequiredDescriptionDefault
paidNo
payUrlNo
galleryIdNo
galleryUrlNo
photoCountNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

The annotations only mark this as a non-read-only, open-world write, so the description carries most of the burden and does it well: it discloses the confirmation handshake (the first call creates nothing), the 500-photo cap and the file types included, the 30-day download window, the plan and payment-processor prerequisites, and that no email is sent on creation. The one gap is that it never explains how long previews or the gallery stay live after creation, but that is minor next to everything it does cover.

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?

It is a single dense paragraph that is front-loaded with the core action and result, and almost every clause carries real information. It would read better split into shorter sentences or bullets around pricing, previews, prerequisites and confirmation, and phrases like "otherwise the answer says what to do" add little.

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 an 11-parameter write tool with an output schema, this is complete: it covers prerequisites, the confirmation flow, what each mode does, side effects such as emails and receipts, and even names the returned galleryUrl and payUrl fields. An agent has everything it needs to call it correctly on the first attempt.

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 does not provide: a price switches the entire flow to paid, which in turn changes who can view the photos and how they are watermarked, and watermark applies only to free galleries. It also ties confirmationCode to the same inputs from the first call, which the schema only hints at.

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 transformation: it turns a folder of photos into a public gallery at /g/<slug>, and names the source parameter (folderId from tarkle_list_folders). It is clearly distinguishable from siblings such as tarkle_create_folder and tarkle_get_gallery_status because it describes publishing and selling, not organizing or checking status.

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 conditions and alternatives: omit price for a free gallery, supply one for a paid gallery; previewMode "all" versus "first" with the tradeoff spelled out; and a paid gallery requires Pro plus PayPal or Stripe connected. It also explains the required two-call confirmation sequence and when to use confirmationCode, so the agent knows the exact invocation order.

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.