EasySociable

v0.1.46
io.github.murphywuwu/easysociable-mcp Checked 2 hours ago Published 18 days ago

AI carousel maker for coding agents: branded multi-page carousels for TikTok, LinkedIn, Instagram.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_templates List templates

List public template catalog summaries from Gateway (filterable by platform, role, density, canvasPreset). Alternatives: Use get_template to inspect specific slot requirements. Read-only catalog query.

ParameterTypeDescription
allbooleanFetch all matching templates across pages.
canvasPresetstringAspect ratio preset (e.g. 9:16, 4:5, 1:1, 3:4).
contentArchetypesarrayContent archetypes list.
contentFamilystringContent family filter.
cursorstringPagination cursor from previous nextCursor.
densitystringDensity filter: sparse | normal | dense
limitnumberMax items per page.
localestringLanguage/locale code (e.g. en, zh-CN).
platformsarrayPlatform filter: tiktok | linkedin | instagram | threads | xiaohongshu
qstringSearch term matching template name or description.
requiresImagebooleanFilter templates that require an image slot.
rolesarrayNarrative role filter: hook | value | rehook | cta

get_template Get template

Get one published template detail including the public slots[] table (key, type, required, constraints). Use slots to bind slide copy in create_slideshow_run or inspect template constraints. Alternatives: Use list_templates to browse catalog. Read-only catalog query.

ParameterTypeDescription
templateId *stringThe unique published template identifier to retrieve.

list_gradients List gradients

List or search platform gradient recipe summaries by keyword query or tag. Call to discover gradient presets before styling cards. Alternatives: Use get_gradient to retrieve full CSS declaration for a specific gradientId. Read-only platform catalog query.

ParameterTypeDescription
limitnumberMax items to return (prefer small limit for token budget).
qstringSearch term matching gradient name or tone.
tagstringStyle tag filter (e.g. vibrant, subtle, dark, pastel).

get_gradient Get gradient

Retrieve the full gradient CSS recipe (linear angle, color stops, and semantic token values) for a specific gradient by gradientId. Call after list_gradients to materialize background styles or decorative surfaces on cards. Alternatives: Use list_gradients to search available recipes. Read-only platform catalog lookup. Returns full gradient recipe object.

ParameterTypeDescription
gradientId *stringThe unique identifier of the gradient preset (e.g. grad_warm_sunset).

search_icons Search icons

Search the internal safe Template Icon Catalog (curated Iconify collections) by keyword, collection, or visual style. Use when designing templates or adding icon decorations. Select ≤8 candidates and confirm choice before materializing. Alternatives: Call get_icon once an iconId is selected to generate the immutable asset. Read-only catalog search; does not consume quota.

ParameterTypeDescription
query *stringSearch term for icon meaning or keyword (e.g. arrow, checkmark, star).
collectionstringOptional icon collection filter (e.g. lucide, tabler).
limitnumberMax number of candidates to return (default 8; prefer small limits for token budget).
stylestringIcon rendering style: outline | solid | any

get_icon Get / materialize icon

Materialize an immutable TemplateIconAsset via Gateway from a confirmed iconId. Call after confirming a candidate from search_icons. Requires idempotencyKey to prevent duplicate creation. Idempotent: repeated calls with identical keys return the existing asset without consuming extra quota. Returns canonical SVG string, iconAssetId, and contentHash.

ParameterTypeDescription
iconId *stringCanonical icon identifier confirmed from search_icons (e.g. lucide:arrow-right).
idempotencyKey *stringUnique idempotency key to prevent duplicate icon asset creation.

list_template_drafts List authoring drafts

List all template authoring drafts for the current account owner. Returns draft summaries with validation status, name, and timestamps. Use to resume an authoring session or discover draft IDs before updating or publishing. Alternatives: Use get_template_draft when you have a draftId to inspect full layer AST. Read-only query scoped to account owner.

create_template_draft Create authoring draft

Initialize a new Page Template draft for authoring with custom layout, layers, and slot contracts. Use when authoring a new slide template from scratch. Do NOT use to edit an existing draft (use update_template_draft) or browse public templates (use list_templates). Requires workspace owner authorization. Returns created TemplateDraft record with draftId and interactive authoringStudioUrl for real-time visual canvas editing.

ParameterTypeDescription
name *stringHuman-readable title for the template draft.
authoringSourceobjectTemplate AST structure including layer hierarchy and visual slots.
selectionMetadataobjectAspect ratio and categorization metadata (platforms, layout family, intent).
sourceobjectOptional initial canvas source tree.
themeobjectDefault theme overrides (palette, typography tokens).

get_template_draft Get authoring draft

Fetch complete authoring draft details by draftId, including full layer AST, slot contract definitions, theme bindings, and validation error logs. Call before update_template_draft or publish_template_draft to inspect draft structure and check validation status. Alternatives: Use list_template_drafts to discover draftIds. Read-only query scoped to draft owner. Returns full TemplateDraft AST entity.

ParameterTypeDescription
draftId *stringThe unique draft identifier to retrieve.

update_template_draft Update authoring draft

Update layer AST, slot definitions, selection metadata, or theme tokens of an existing template authoring draft by draftId. Call iteratively to refine draft layout and slot contracts during authoring. Do NOT use to create new drafts (use create_template_draft), view draft AST (use get_template_draft), or release to public catalog (use publish_template_draft). Requires draft owner authorization. Performs safe partial patch: unmentioned properties remain untouched. Automatically triggers layout rule validation on save; returns validation warnings if constraints are breached. Returns updated Temp…

ParameterTypeDescription
draftId *stringThe unique draft identifier to update.
authoringSourceobjectUpdated template AST layout structure and slot bindings.
namestringUpdated template title.
selectionMetadataobjectUpdated platform and family metadata.
themeobjectUpdated theme tokens.

delete_template_draft Delete authoring draft

Permanently delete a template authoring draft by draftId. Call only when abandoning a draft that should be permanently destroyed. If the draft is complete and ready for production, call publish_template_draft instead. Destructive operation requiring explicit user confirmation: draft canvas data, layer AST, and unpublished revisions cannot be recovered. Returns deletion confirmation record.

ParameterTypeDescription
draftId *stringThe unique draft identifier to permanently delete.

publish_template_draft Publish authoring draft

Validate and publish an authoring draft into the public or workspace template catalog. Call when draft design and slot contracts are finalized and ready for instantiation in slideshow runs. If still editing or fixing layout rules, use update_template_draft. To inspect validation before publishing, use get_template_draft. Promotes draft to an immutable published template. Validates AST against layout rules; fails if required slots or constraints are violated. Returns published Template entity with public templateId, slots table, and catalog status.

ParameterTypeDescription
draftId *stringThe unique draft identifier to validate and publish.

create_template_preview_job Create preview job

Request an asynchronous server-side render preview image of a template draft for thumbnail generation. For interactive real-time visual authoring, prefer opening the authoringStudioUrl in browser.

ParameterTypeDescription
draftId *stringThe unique draft identifier to generate a render preview for.

import_template_image Import template image

Upload and attach a transient image asset specifically to a template draft canvas. Call while authoring a template draft in canvas studio to place background or sample imagery. Do NOT use for general workspace media library assets, logos, and photos (use import_image instead). Requires draft owner authorization and idempotencyKey. Idempotent: duplicate uploads with identical idempotencyKey return the existing asset. Returns created template image asset with imageId, dimensions, and public CDN preview URL.

ParameterTypeDescription
dataBase64 *stringBase64-encoded image binary string.
draftId *stringThe unique template draft ID this image is attached to.
fileName *stringOriginal image filename (e.g. background.jpg).
idempotencyKey *stringUnique idempotency key to prevent duplicate image creation.
mimeType *stringMIME type: image/jpeg | image/png | image/webp
provider *stringAsset origin provider: pinterest | unsplash | pexels | user_upload | generated
rightsStatus *stringRights ownership status: rights_unknown | licensed_for_publish | user_owned | generated
attributionstringOptional human-readable attribution string.
creatorstringOptional author or photographer attribution name.
externalIdstringOptional external asset ID from provider.
licensestringOptional license type identifier.
searchQuerystringOptional search keyword that discovered this image.
sourceUrlstringOptional source URL if fetched from web.

list_slideshow_runs List slideshow runs

List owner-scoped Slideshow Runs with optional platform, lifecycle status, or search query filters. Returns run metadata, platform target, page counts, revision numbers, and timestamps. Call to browse existing carousels or find a runId before inspection, updating, or archiving. Alternatives: Use get_slideshow_run when you already have a specific runId to fetch full slide content. Behavior: Read-only query scoped to current authenticated workspace owner.

ParameterTypeDescription
brandIdstringFilter runs styled with a specific Brand ID.
brandProfileIdstringOptional legacy brand profile filter.
contentSlugstringFilter runs generated from a specific content topic slug.
platformstringTarget platform filter: tiktok | linkedin | instagram | threads | xiaohongshu | x
profileIdstringOptional profile filter.
qstringSearch term matching run title, topic, or content text.
statusstringLifecycle status filter: draft | active | archived | trash

create_slideshow_run Create slideshow run

Create a durable multi-page Slideshow Run from a structured ContentPack (platform + pages; each page carries role, slots and either a generated layout { studioJson, canvas } adapted from a Deck Style family, or a layoutFamilyId). Pass brandId to apply the user Brand. Put the post text beside the images in pack.post { title?, description? } (Xiaohongshu / TikTok have a title; Instagram, Threads, LinkedIn and X use description). X image Runs support 2–20 pages and default to the Instagram-compatible 4:5 canvas. Do NOT use to edit an existing run (use update_slideshow_run instead). Requires wor…

ParameterTypeDescription
pack *objectcontent-pack.v1 payload containing schemaVersion, platform, and pages array with bound templateId and slots content.
brandIdstringOptional Brand ID to apply brand kit typography, colors, and logo to all slides.
brandProfileIdstringOptional legacy brand profile ID.
contentSlugstringOptional content topic identifier for tracking in Content Engine.

get_slideshow_run Get slideshow run

Retrieve full details of an existing Slideshow Run by runId, including complete slide pages, bound template IDs, slot contents, brand theme snapshot, current revision number, and studio review URL. Call before update_slideshow_run to inspect current slide contents and capture baseRevision for concurrency locking. Alternatives: Use list_slideshow_runs to discover runIds. Read-only query scoped to authenticated workspace owner.

ParameterTypeDescription
runId *stringThe unique Slideshow Run identifier to retrieve.

update_slideshow_run Update slideshow run

Partially update slide copy, slot bindings, layout, styling, or brand settings of an existing Slideshow Run by runId. Call get_slideshow_run first to obtain current revision and slide data. Do NOT use to create new runs (use create_slideshow_run) or delete runs (use delete_slideshow_run). Safe partial patch: unspecified fields are preserved. Requires baseRevision for optimistic concurrency locking; on revision mismatch returns 409 Conflict (no auto-merge), requiring a fresh get_slideshow_run. To patch a single slide, provide pageIndex (0-indexed) with slots, layout, or style. To update entire…

ParameterTypeDescription
runId *stringThe unique Slideshow Run identifier to update.
baseRevisionintegerCurrent revision number for optimistic concurrency locking to prevent overwrite races. Must match latest revision from get_slideshow_run.
brandIdstringUpdated Brand ID styling reference applied across slides.
brandProfileIdstringOptional legacy brand profile ID.
contentSlugstringUpdated content topic slug.
decorationsarrayVisual decorations list for the specified pageIndex.
layoutobjectLayout adjustments for the specified pageIndex.
packobjectUpdated complete content-pack.v1 structure. Overrides entire slide deck when provided.
pageIndexintegerIndex of a single slide page to patch (0-indexed). Must be paired with slots, layout, style, or decorations.
postobjectThe post text beside the images: { title?, description? }. Only the fields in the Run's postLimits exist on its platform; keep within those limits.
slotsobjectKey-value map of slot text/image overrides for the specified pageIndex.
styleobjectStyle token adjustments for the specified pageIndex.

archive_slideshow_run Archive slideshow run

Soft-hide an active Slideshow Run from default workspace lists and pickers without deleting slide data or review URLs. Use to declutter the workspace after campaign completion. Do NOT use for permanent destruction; use delete_slideshow_run instead. Idempotent state change, fully reversible via restore_slideshow_run. Preserves all slide records, rendered assets, and external links. Returns updated SlideshowRun with status set to archived.

ParameterTypeDescription
runId *stringThe unique Slideshow Run identifier to archive.

restore_slideshow_run Restore slideshow run

Restore a previously archived or trashed Slideshow Run back to active workspace status, restoring it to the default projects view. Use to reactivate an archived or trashed carousel project. Alternatives: Use get_slideshow_run to inspect run contents before restoring. Idempotent state change. Returns restored SlideshowRun record visible in default workspace listings.

ParameterTypeDescription
runId *stringThe unique Slideshow Run identifier to restore.

delete_slideshow_run Delete slideshow run

Move a Slideshow Run to trash or permanently remove it from the workspace along with its slide page records. Use only when a run is obsolete and permanently discarded. Alternatives: If you only want to hide the run from active lists while preserving review links and data, use archive_slideshow_run instead. Destructive operation requiring explicit user confirmation. Invalidates studio review URLs. Returns deletion confirmation record.

ParameterTypeDescription
runId *stringThe unique Slideshow Run identifier to permanently delete.

list_brands List brands

List owner-scoped Brands with typography tokens, color palettes, and logos. Call to discover available brand identities before creating or styling slideshow runs. Alternatives: Use get_brand when you have a specific brandId to inspect full tokens. Read-only query scoped to current workspace owner. Returns array of Brand summaries.

get_brand Get brand

Fetch a complete Brand profile by brandId, including typography tokens, 4-color palette (primary, secondary, accent, surface), logoAssetId, and baseRevision. Call before generating or updating branded slides to inject brand styles and capture baseRevision. Alternatives: Use list_brands to discover brandIds. Read-only query scoped to workspace owner. Returns full Brand entity.

ParameterTypeDescription
brandId *stringThe unique identifier of the brand to retrieve.

create_brand Create brand

Create a new owner-scoped Brand kit defining typography, color palette, handle, and optional logo asset. Call before creating slideshow runs to establish consistent visual identity. Do NOT use to edit an existing brand; use update_brand instead. Requires workspace owner authorization. Persists initial brand record with revision 1. Returns created Brand entity with brandId and initial revision.

ParameterTypeDescription
name *stringCanonical brand name (e.g. Acme Corp).
colorsobjectColor palette tokens (primary, secondary, accent, surface, text).
displayNamestringUser-facing display name.
handlestringSocial media handle (e.g. @acme).
logoAssetIdstringOptional image asset ID for brand logo.
typographyobjectTypography settings (headingFont, bodyFont).

update_brand Update brand

Patch visual styles, typography, or metadata of an existing Brand by brandId. Call after get_brand to modify palette or fonts. Do NOT use to create new brands (use create_brand) or to delete (use delete_brand). Requires baseRevision for optimistic concurrency locking to prevent overwrite races; on revision mismatch returns 409 Conflict. Safe partial patch: unspecified styling tokens are preserved. Returns updated Brand with incremented revision.

ParameterTypeDescription
baseRevision *integerCurrent revision number for optimistic concurrency lock. Must match latest revision from get_brand.
brandId *stringThe unique identifier of the brand to update.
colorsobjectUpdated color palette tokens.
displayNamestringUpdated display name.
handlestringUpdated social handle.
logoAssetIdstringUpdated logo asset ID.
namestringUpdated brand name.
typographyobjectUpdated typography configuration.

archive_brand Archive brand

Archive an active Brand to soft-hide it from default pickers and list queries without losing styling tokens. Call to declutter workspace brands. Do NOT use for permanent deletion; use delete_brand instead. Idempotent state transition, fully reversible via restore_brand. Existing slideshow runs referencing this brand continue to display correctly. Returns updated Brand with status set to archived.

ParameterTypeDescription
brandId *stringThe unique identifier of the brand to archive.

restore_brand Restore brand

Restore a previously archived or trashed Brand back to active status. Call to unhide a brand and make it immediately selectable in brand selectors and default list queries. Alternatives: Use get_brand to inspect tokens before restoring. Idempotent state transition. Returns restored Brand with status set to active.

ParameterTypeDescription
brandId *stringThe unique identifier of the brand to restore.

delete_brand Delete brand

Move a Brand to trash for deletion. Call only when a brand kit is obsolete and permanently discarded. Alternatives: If existing runs still use this brand theme, prefer archive_brand to preserve styling safely. Destructive operation requiring explicit confirmation. Dependent design workflows may lose default brand styling. Returns deletion confirmation record.

ParameterTypeDescription
brandId *stringThe unique identifier of the brand to move to trash.

list_images List images

List owner-scoped image assets in the media library with optional search query q. Returns image IDs, CDN URLs, dimensions, and rights status for slot assignment. Call to browse media assets or discover imageId before slot binding. Alternatives: Use get_image to fetch full metadata for a specific imageId. Read-only query scoped to workspace owner.

ParameterTypeDescription
qstringSearch term matching image name or provenance source.

get_image Get image

Fetch metadata and public R2/CDN delivery URL for a specific image asset by imageId. Call to inspect dimensions, content hash, and rightsStatus before binding to slide slots. Alternatives: Use list_images to search assets across media library. Read-only query scoped to workspace owner. Returns full Image entity.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to retrieve.

import_image Import image

Upload a new image file into the permanent workspace media library, storing the binary asset on Cloudflare R2 and registering metadata in Directus. Call to add reusable media assets (logos, photos, graphics) for use across slideshow runs and brands. Do NOT use for transient template draft canvas images (use import_template_image instead). Requires workspace write permissions. Returns created Image record with generated imageId and public delivery URL.

ParameterTypeDescription
filestringBase64-encoded image data or local file path.
filenamestringOriginal filename with extension (e.g. header.png).
namestringHuman-readable asset title in media library.
rightsStatusstringRights ownership status: licensed_for_publish | user_owned | generated | rights_unknown
sourceUrlstringOriginal source URL if importing from web/unsplash/pinterest.

update_image Update image

Update metadata fields (such as human-readable name or rightsStatus) for an existing image asset by imageId. Call to rename images or change categorization tags. Do NOT use to record legal commercial compliance attestations (use attest_image instead) or to replace image binary pixels (use import_image to upload a new asset). Requires workspace owner authorization. Safe partial update: only provided fields are modified. Returns updated Image asset record.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to update.
namestringUpdated human-readable asset title.
rightsStatusstringUpdated rights status: licensed_for_publish | user_owned | generated

attest_image Attest image rights

Record an immutable legal copyright or commercial rights ownership attestation for an image asset. Call before multi-platform export to satisfy commercial compliance requirements. Do NOT use to edit metadata like title or tags (use update_image instead) or upload images (use import_image). Not required for personal or draft-only runs. Requires workspace owner authorization. Writes a permanent audit log record bound to imageId. Re-attesting with a new statementVersion creates a new timestamped attestation record without revoking prior history. Returns attestation confirmation object.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to attest.
statementVersionstringLegal attestation terms version accepted (e.g. v1). Returns 400 if invalid or empty.

archive_image Archive image

Archive an image asset to soft-hide it from active media pickers without deleting binary files from storage. Call to declutter media library when an image is retired from active use. For permanent deletion, use delete_image instead. Idempotent state transition, fully reversible via restore_image. Slides and carousels currently referencing this image continue to display and render without disruption. Returns updated Image record with status set to archived.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to archive.

restore_image Restore image

Restore a previously archived or trashed image asset back to active status in the workspace media library. Call to unhide a retired asset and make it selectable again in slide slot editors. Alternatives: Use get_image to inspect asset details before restoring. Idempotent state transition. Returns restored Image record visible in default media queries.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to restore.

delete_image Delete image

Move an image asset to trash for permanent removal. Call only when an image is obsolete, copyrighted without license, or marked for permanent deletion. If existing slides still use this image, prefer archive_image to hide it safely without breaking slide renders. Destructive operation requiring explicit user confirmation. May cause slide render failures if imageId is bound to active slides. Returns deletion confirmation record.

ParameterTypeDescription
imageId *stringThe unique image asset identifier to move to trash.