Skip to main content
Glama

Set Facebook Carousel

set_facebook_carousel

Set image-bound destination cards on an unpublished owned Facebook post. Supply exactly one card for each current image, 2–10 images. Pass carousel:null to clear. Does not publish.

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": {
      "postId": "<postId>",
      "carousel": "<carousel>"
    },
    "name": "set_facebook_carousel"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesID of the unpublished Facebook post (from list_posts)
carouselYesOne destination card per current image, in image order; null clears the carousel

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / carousel / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "carouselCards": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "description": {
      -              "maxLength": 255,
      -              "type": "string"
      -            },
      -            "imageUrl": {
      -              "maxLength": 2048,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "link": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 255,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "imageUrl",
      -            "link"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "minItems": 2,
      -        "type": "array"
      -      },
      -      "carouselLink": {
      -        "$ref": "#/properties/carousel/anyOf/0/properties/carouselCards/items/properties/link"
      -      }
      -    },
      -    "required": [
      -      "carouselCards"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "carouselCards": {
      +        "description": "Exactly one card per current image, 2–10",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "description": {
      +              "description": "Card subtext",
      +              "maxLength": 255,
      +              "type": "string"
      +            },
      +            "imageUrl": {
      +              "description": "URL of one of the post's current images; binds this card to it",
      +              "maxLength": 2048,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "link": {
      +              "description": "Where the card links to",
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "Card headline",
      +              "maxLength": 255,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "imageUrl",
      +            "link"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "minItems": 2,
      +        "type": "array"
      +      },
      +      "carouselLink": {
      +        "$ref": "#/properties/carousel/anyOf/0/properties/carouselCards/items/properties/link",
      +        "description": "Optional \"see more\" link shown after the cards"
      +      }
      +    },
      +    "required": [
      +      "carouselCards"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / carousel / description
      Added value: +"One destination card per current image, in image order; null clears the carousel"
    • addedInput schema / properties / postId / description
      Added value: +"ID of the unpublished Facebook post (from list_posts)"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the mutation/safety profile (readOnly=false, destructive=false, idempotent=false), so the description usefully adds the real behavioral constraints: the post must be unpublished, the card count must exactly match the current images (2–10), and the operation does not publish. It leaves permission requirements and what happens on a card/image count mismatch unstated.

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?

Three short sentences, front-loaded with the action and target, then the cardinality rule, then the clearing and non-publishing notes. No filler or redundancy.

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 two-parameter mutation tool with no output schema, the description covers target validity, cardinality, clearing behavior, and side effects. The remaining gap is failure/permission behavior, which is secondary but would help an agent avoid mis-invocation.

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 coverage is 100%, so the baseline is 3; the schema already documents postId's source, the 2–10 bounds, and per-field card meaning. The description adds the cross-parameter rule that cards must map one-to-one onto the post's current images and that null clears, but otherwise restates schema constraints rather than adding new semantics.

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 a specific verb and resource ('Set image-bound destination cards on ... Facebook post') and constrains the target to an 'unpublished owned' post, which separates it from the create_carousel* siblings that build carousels from scratch. It stops short of naming an alternative explicitly, so it is clear but not fully sibling-differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the preconditions (post must be unpublished and owned), the clearing path ('Pass carousel:null to clear'), and an exclusion ('Does not publish'), giving an agent solid selection context. It does not say what to use instead when the post is already published or when a carousel must be built rather than set.

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