Skip to main content
Glama
PrismPoster Creator Tools MCP

PrismPoster Creator Tools MCP

Official
by PrismPoster

Get one social media placement spec

get_social_media_placement
Read-onlyIdempotent

Look up a social media placement by ID to get its frame size, aspect ratio, safe-area insets, usable box, source, and a centre-crop or letterbox fit plan for your footage.

Instructions

Look up one social media placement by id and return its frame size, aspect ratio, first-party safe-area insets in px, usable box, and the official page the figures came from. Pass sourceWidth and sourceHeight together to also get the centre-crop and letterbox plan that fits your footage to this placement. Use this when you know the target placement; use list_social_media_placements to browse or compare placements, check_safe_area to test whether an element is clear of the platform UI, and calculate_aspect_ratio for a ratio that is not a platform placement. For TikTok the insets are null with a reason, because TikTok publishes no fixed safe area. Errors on an unknown id (the message lists valid ids) or on only one source dimension.

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": {
      "id": "<id>"
    },
    "name": "get_social_media_placement"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlacement id, e.g. instagram-reels, tiktok-video or youtube-shorts.
sourceWidthNoWidth of your source footage in px. Requires sourceHeight.
sourceHeightNoHeight of your source footage in px. Requires sourceWidth.

Output Schema

NameRequiredDescriptionDefault
idYes
fitYes
kindYes
sizeYes
labelYes
ratioYes
platformYes
usableBoxPxYes
safeAreaKindYes
usableSharePctYes
referenceToolUrlYes
safeAreaInsetsPxYes
unpublishedReasonYes
firstPartySourceUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / id / description
      Previous value: -"Placement ID (e.g. instagram-reels, instagram-story, instagram-feed-portrait, tiktok-video, youtube-shorts, youtube-video, youtube-channel-banner, linkedin-video, x-video, facebook-reels)."New value: +"Placement id, e.g. instagram-reels, tiktok-video or youtube-shorts."
    • addedInput schema / properties / id / enum
      Added value: +[
      +  "instagram-reels",
      +  "instagram-story",
      +  "instagram-feed-portrait",
      +  "instagram-feed-square",
      +  "tiktok-video",
      +  "youtube-shorts",
      +  "youtube-video",
      +  "youtube-channel-banner",
      +  "facebook-reels",
      +  "facebook-feed",
      +  "linkedin-feed",
      +  "linkedin-video",
      +  "x-feed-image",
      +  "x-video"
      +]
    • changedInput schema / properties / sourceHeight / description
      Previous value: -"Optional source frame height in pixels to calculate crop/pad fit."New value: +"Height of your source footage in px. Requires sourceWidth."
    • addedInput schema / properties / sourceHeight / maximum
      Added value: +100000
    • addedInput schema / properties / sourceHeight / minimum
      Added value: +1
    • changedInput schema / properties / sourceHeight / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / sourceWidth / description
      Previous value: -"Optional source frame width in pixels to calculate crop/pad fit."New value: +"Width of your source footage in px. Requires sourceHeight."
    • addedInput schema / properties / sourceWidth / maximum
      Added value: +100000
    • addedInput schema / properties / sourceWidth / minimum
      Added value: +1
    • changedInput schema / properties / sourceWidth / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "firstPartySourceUrl": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "fit": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "crop": {
      +              "anyOf": [
      +                {
      +                  "properties": {
      +                    "areaKept": {
      +                      "type": "number"
      +                    },
      +                    "removed": {
      +                      "properties": {
      +                        "bottom": {
      +                          "type": "integer"
      +                        },
      +                        "left": {
      +                          "type": "integer"
      +                        },
      +                        "right": {
      +                          "type": "integer"
      +                        },
      +                        "top": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "top",
      +                        "right",
      +                        "bottom",
      +                        "left"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "result": {
      +                      "properties": {
      +                        "height": {
      +                          "type": "integer"
      +                        },
      +                        "width": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "result",
      +                    "removed",
      +                    "areaKept"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "pad": {
      +              "anyOf": [
      +                {
      +                  "properties": {
      +                    "added": {
      +                      "properties": {
      +                        "bottom": {
      +                          "type": "integer"
      +                        },
      +                        "left": {
      +                          "type": "integer"
      +                        },
      +                        "right": {
      +                          "type": "integer"
      +                        },
      +                        "top": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "top",
      +                        "right",
      +                        "bottom",
      +                        "left"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "imageFraction": {
      +                      "type": "number"
      +                    },
      +                    "result": {
      +                      "properties": {
      +                        "height": {
      +                          "type": "integer"
      +                        },
      +                        "width": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "result",
      +                    "added",
      +                    "imageFraction"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "source": {
      +              "properties": {
      +                "height": {
      +                  "type": "integer"
      +                },
      +                "width": {
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "width",
      +                "height"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "source",
      +            "crop",
      +            "pad"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "enum": [
      +        "video",
      +        "image"
      +      ],
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "platform": {
      +      "type": "string"
      +    },
      +    "ratio": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "referenceToolUrl": {
      +      "type": "string"
      +    },
      +    "safeAreaInsetsPx": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "bottom": {
      +              "type": "integer"
      +            },
      +            "left": {
      +              "type": "integer"
      +            },
      +            "right": {
      +              "type": "integer"
      +            },
      +            "top": {
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "top",
      +            "right",
      +            "bottom",
      +            "left"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "safeAreaKind": {
      +      "enum": [
      +        "published",
      +        "unpublished",
      +        "noOverlay",
      +        "region"
      +      ],
      +      "type": "string"
      +    },
      +    "size": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "height": {
      +              "type": "integer"
      +            },
      +            "width": {
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "width",
      +            "height"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "unpublishedReason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "usableBoxPx": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "height": {
      +              "type": "integer"
      +            },
      +            "width": {
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "width",
      +            "height"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "usableSharePct": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "platform",
      +    "label",
      +    "kind",
      +    "ratio",
      +    "size",
      +    "safeAreaKind",
      +    "safeAreaInsetsPx",
      +    "usableBoxPx",
      +    "usableSharePct",
      +    "unpublishedReason",
      +    "firstPartySourceUrl",
      +    "referenceToolUrl",
      +    "fit"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.3.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses that TikTok insets are null with a stated reason, and that the tool errors on unknown ids (listing valid ids) and on a partial source-dimension pair. Those are non-obvious failure modes an agent needs to plan for.

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?

Four tight sentences, front-loaded with purpose and return content, followed by the optional-crop affordance, sibling routing, and edge cases. Every sentence carries information that changes agent behavior.

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?

With annotations covering the safety profile and an output schema covering return shape, the description supplies the remaining essentials: what the fields mean, the optional crop-plan mode, routing to siblings, and the two error conditions.

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 enum ids and px bounds are already documented. The description still adds value by explaining what passing both sourceWidth and sourceHeight unlocks (centre-crop and letterbox plan) rather than just restating the dependency, though it does not clarify units/limits beyond the schema.

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 resource ('look up one social media placement by id') and enumerates exactly what is returned: frame size, aspect ratio, safe-area insets, usable box, and provenance page. It is immediately distinguishable from list_social_media_placements or check_safe_area.

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?

Explicitly says 'Use this when you know the target placement' and then routes three named alternatives (list_social_media_placements for browsing/comparison, check_safe_area for element clearance, calculate_aspect_ratio for non-platform ratios) to their triggering conditions. Nothing is left to inference.

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