Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

createMultiImagePost

Creates a multi-image album or gallery for post types with data_type=4. Imports external image URLs into site storage and verifies each photo lands successfully.

Instructions

Create an album group - Create a new portfoliogroup record. Writes live data.

Use when: creating a photo album, gallery, product listing with multiple photos, or any post type with data_type=4. Confirm the target post type's data_type via listPostTypes first - data_type=4 belongs here; 9/20 belongs in createSingleImagePost. For external image URLs, always use the bulk post_image CSV + auto_image_import=1 here - this is the only path that imports externals into site storage. createMultiImagePostPhoto does NOT import and is only suitable for already-hosted-on-site URLs.

Required: user_id, data_id, data_type.

Pre-check before create: BD does NOT enforce uniqueness on group_name, and the public URL slug is derived from it — duplicate names produce a URL collision (unpredictable which resolves). Do a server-side filter-find: listMultiImagePosts property=group_name property_value=<proposed> property_operator==. Zero rows = name free; >=1 = taken. If taken: compare records, not strings - the same real-world record -> do NOT create (reuse via updateMultiImagePost); a different record sharing the name -> retitle to distinguish and re-check. Never create a duplicate under a new name.

Parameter interactions:

  • data_id + data_type - specify the post type this album belongs to (from listPostTypes; data_type must be 4)

  • group_status: 0=Hidden, 1=Published

  • post_image - comma-separated image URLs imported as child photos at create time

  • auto_image_import=1 - fetches the post_image URLs into site storage (required for external sources to survive)

Post-create verification (critical): HTTP 200 does NOT mean every photo imported. After create, call listMultiImagePostPhotos property=group_id&property_value=<new_group_id>&property_operator==; row count must equal CSV count and every row needs non-empty file + image_imported=2 (success; 0 = silent-failure row). Fix failed row: deleteMultiImagePostPhoto, then updateMultiImagePost group_id=<same>&post_image=<replacement>&auto_image_import=1 (appends). Do NOT delete and recreate the album.

See also: updateMultiImagePost (modify existing), createMultiImagePostPhoto (already-hosted URLs only).

Returns: { status: "success", message: {...createdRecord} } - includes the server-assigned group_id.


Which endpoint to use - data_type family decides:

Every post type in data_categories has a data_type field that classifies its family. Call listPostTypes or getPostType to see the data_type of your target post type, then choose:

data_type value

Family

Use endpoint

4

Multi-image (albums, galleries, photo-heavy listings - e.g. Classified, Photo Album, Property, Product)

createMultiImagePost

9

Single-image video

createSingleImagePost

20

Single-image article / event / blog / job / coupon

createSingleImagePost

10, 13, 21, 28, 29 (and similar)

Internal admin types (Member Listings, Reviews, Sub Accounts, Specialties, Favorites) - NOT posts

Use the resource-specific endpoint (e.g. createReview for data_type=13)

If you call the wrong create endpoint for a given post type, BD may accept the row but it won't render on the public site correctly.

Category for multi-image posts: multi-image posts do NOT expose post_category like single-image posts do. Album-level categorization is configured differently in BD admin and is not cleanly writable via the create payload. If categorization is needed, add it via a follow-up updateMultiImagePost or BD admin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_idYes
user_idYes
data_typeYesClassification family - for this endpoint, must be `4` (multi-image). Read from the target post type's `data_type` column via `listPostTypes` / `getPostType`. If the post type's `data_type` is `9` or `20`, use `createSingleImagePost` instead. Do NOT call `listDataTypes` - `data_type` is a classification, not a per-site FK.
post_tagsNoComma-separated keywords for the album. Free-form strings - not related to the `Tags` resource.
group_descNoAlbum description HTML. Froala body field — see **Rule: Post-body formatting** (structure, `fr-dib fr-fil`/`fr-fir` float + inline `width: 350px`, landscape Pexels images).
group_nameNo
post_imageNoComma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE only — verify each candidate's orientation via `getImageDimensions` per **Rule: Image dimensions** before commit; bare URLs, no `?query`, each must end in `.jpg`/`.jpeg`/`.png` (WebP/GIF/AVIF skipped pre-tool per the same rule) — see **Rule: Image URLs**.** Query strings (`?w=1600`, `?auto=compress`) get baked into imported filenames and 404. Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed via `listMultiImagePostPhotos`. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row.
auto_geocodeNoSet to `1` to geocode the album's location. Requires the "Pretty URLs with Google Maps" site feature.
group_statusNo0=Not Published, 1=Published, 3=Pending Approval (rare — set when site admin requires manual moderation before albums go live).
auto_image_importNo**Auto-import images to site storage.** Set `1` when any external image URL field on this multi-image post holds a URL - BD fetches and saves each image locally. Without the flag, BD stores URLs as-is; images break if source hosts go down. **Recommended default when supplying external image URLs**; omit or set `0` only if user explicitly wants external URL references. Supports JPG/PNG/GIF/WebP/SVG. Processing delay: several minutes per image.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv6.55.39
  2. Removedv6.55.19
  3. Addedv6.49.4
  4. Removedv6.48.1
  5. Addedv6.0.19
  6. Removedv6.0.18
  7. Changed1 schema field changedv6.0.16
    • changedInput schema / properties / post_image / description
      Previous value: -"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE only — never portrait/vertical. Bare URLs — no `?query`, each must end in `.jpg`/`.jpeg`/`.png`/`.webp`.** Query strings (`?w=1600`, `?auto=compress`) get baked into imported filenames and 404. Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed — see this tool's post-create verification section. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row."New value: +"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE only — never portrait/vertical; source via `https://www.pexels.com/search/<term>/?orientation=landscape`; bare URLs, no `?query`, each must end in `.jpg`/`.jpeg`/`.png`/`.webp` — see image URL rule.** Query strings (`?w=1600`, `?auto=compress`) get baked into imported filenames and 404. Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed — see this tool's post-create verification section. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row."
  8. Changed2 schema fields changedv6.0.14
    • addedInput schema / properties / group_status / description
      Added value: +"0=Not Published, 1=Published, 3=Pending Approval (rare — set when site admin requires manual moderation before albums go live)."
    • changedInput schema / properties / group_status / enum
      Previous value: -[
      -  0,
      -  1
      -]New value: +[
      +  0,
      +  1,
      +  3
      +]
  9. Changed1 schema field changedv6.0.13
    • changedInput schema / properties / post_image / description
      Previous value: -"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE required** (not portrait, not square). Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed — see this tool's post-create verification section. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row."New value: +"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE only — never portrait/vertical. Bare URLs — no `?query`, each must end in `.jpg`/`.jpeg`/`.png`/`.webp`.** Query strings (`?w=1600`, `?auto=compress`) get baked into imported filenames and 404. Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed — see this tool's post-create verification section. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row."
  10. Changed2 schema fields changedv6.0.12
    • changedInput schema / properties / group_desc / description
      Previous value: -"Description of the tag group. HTML allowed."New value: +"Album description HTML. Froala body field — see post-body formatting rule (structure, `fr-dib fr-fil`/`fr-fir` float + inline `width: 350px`, landscape Pexels images)."
    • changedInput schema / properties / post_image / description
      Previous value: -"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). Pair with `auto_image_import=1` to fetch externals into site storage.\n\nFor finer control (per-photo title, status), omit this and add photos one-by-one via `createMultiImagePostPhoto` after album creation."New value: +"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). **LANDSCAPE required** (not portrait, not square). Pair with `auto_image_import=1` to fetch externals into site storage. After create, verify every URL landed — see this tool's post-create verification section. `createMultiImagePostPhoto` does NOT import externals and cannot patch a failed row."
  11. Changed5 schema fields changed
    • changedInput schema / properties / auto_image_import / description
      Previous value: -"**Auto-import images to site storage.** When any external image URL field is supplied on this multi-image post (e.g. a feature image URL from a web-scrape), set `auto_image_import=1` to have BD fetch the image and save it locally. Without this flag, BD stores the URL as-is — images break if the source host goes down. **Recommended default when supplying external image URLs;** omit (or set `0`) only when the user explicitly wants to keep the external URL reference. Supports JPG/PNG/GIF/WebP AND SVG sources. Processing delay: a few minutes."New value: +"**Auto-import images to site storage.** Set `1` when any external image URL field on this multi-image post holds a URL - BD fetches and saves each image locally. Without the flag, BD stores URLs as-is; images break if source hosts go down.\n\n**Recommended default when supplying external image URLs**; omit or set `0` only if user explicitly wants external URL references. Supports JPG/PNG/GIF/WebP/SVG. Processing delay: several minutes per image."
    • changedInput schema / properties / data_type / description
      Previous value: -"Classification family — for this endpoint, must be `4` (multi-image). Read from the target post type's `data_type` column via `listPostTypes` / `getPostType`. If the post type's `data_type` is `9` or `20`, use `createSingleImagePost` instead. Do NOT call `listDataTypes` — `data_type` is a classification, not a per-site FK."New value: +"Classification family - for this endpoint, must be `4` (multi-image). Read from the target post type's `data_type` column via `listPostTypes` / `getPostType`. If the post type's `data_type` is `9` or `20`, use `createSingleImagePost` instead. Do NOT call `listDataTypes` - `data_type` is a classification, not a per-site FK."
    • changedInput schema / properties / group_desc / description
      Previous value: -" Pass raw HTML — do NOT wrap in `<![CDATA[...]]>`, do NOT escape as `&lt;` / `&gt;`, and do NOT include tool-call scaffolding tags (e.g. `<parameter name=\"...\">...</parameter>`, `<invoke>`, `<function_calls>`). BD stores the field value verbatim; any wrapper / escape / scaffolding renders as literal visible text."New value: +"Description of the tag group. HTML allowed."
    • changedInput schema / properties / post_image / description
      Previous value: -"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). Pair with `auto_image_import=1` to fetch externals into site storage. For finer control (per-photo title, status), omit this and add photos one-by-one via `createMultiImagePostPhoto` after the album is created."New value: +"Comma-separated list of image URLs to import as the album's photos (created at upload time as child `MultiImagePostPhoto` records). Pair with `auto_image_import=1` to fetch externals into site storage.\n\nFor finer control (per-photo title, status), omit this and add photos one-by-one via `createMultiImagePostPhoto` after album creation."
    • changedInput schema / properties / post_tags / description
      Previous value: -"Comma-separated keywords for the album. Free-form strings — not related to the `Tags` resource."New value: +"Comma-separated keywords for the album. Free-form strings - not related to the `Tags` resource."
  12. Addedv6.0.7
  13. Removed
  14. Addedv6.0.6

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing critical behaviors: 'Writes live data,' 'HTTP 200 does NOT mean every photo imported,' duplicate group_name causes URL collisions, and auto_image_import fetches externals into site storage. It also describes post-create verification steps, silent-failure rows, and the instruction 'Do NOT delete and recreate the album.' No contradiction with annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false).

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?

The description is long but well-structured with bold section headers (Use when, Required, Pre-check, Parameter interactions, Post-create verification, etc.) and a clear data_type mapping table. It is front-loaded with the core purpose and use-when guidance; while lengthy, the detail is necessary for a complex creation tool with many failure modes.

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?

Covers return format ('{ status: "success", message: {...createdRecord} }'), post-create verification via listMultiImagePostPhotos, the consequence of choosing the wrong endpoint, and the lack of post_category for multi-image posts. Despite no output schema, the description fully prepares the agent for the create flow, verification, and failure recovery.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds substantial meaning beyond the schema: group_name uniqueness and collision risk, post_image must be landscape and end in .jpg/.jpeg/.png with no query strings, data_type must be 4 and read from listPostTypes/getPostType, auto_image_import=1 needed for external URLs, and group_status meanings including 3=Pending Approval. These details are essential for correct parameter usage.

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 opens with 'Create an album group - Create a new portfoliogroup record. Writes live data,' giving a specific verb and resource. It further distinguishes from siblings by explicitly stating 'data_type=4 belongs here; 9/20 belongs in createSingleImagePost,' and explains the tool's role for multi-image post types like albums and galleries.

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?

Provides explicit 'Use when:' conditions (photo album, gallery, product listing, or any post type with data_type=4), and names alternatives: 'createSingleImagePost' for data_type 9/20, and 'createMultiImagePostPhoto' for already-hosted URLs only. It also gives a full data_type-to-endpoint mapping table and warns against using the wrong endpoint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brilliantdirectories/brilliant-directories-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server