Skip to main content
Glama

Get one social media placement spec

get_social_media_placement
Read-onlyIdempotent

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, 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, camelCase (instagramReels) or kebab-case (instagram-reels), e.g. tiktok-video, youtube-shorts, youtube-channel-banner.
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
ratioYes
platformYes
regionPxYes
verifiedOnYes
usableBoxPxYes
safeAreaKindYes
sizeSourceUrlYes
usableSharePctYes
referenceToolUrlYes
safeAreaInsetsPxYes
displayedAsCircleYes
unpublishedReasonYes
firstPartySourceUrlYes
sizeIsPlatformPublishedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / id / enum
      Previous value: -[
      -  "instagramReels",
      -  "instagramStory",
      -  "instagramFeedTall",
      -  "instagramFeedPortrait",
      -  "instagramFeedSquare",
      -  "instagramFeedLandscape",
      -  "tiktokInFeed",
      -  "tiktokSquare",
      -  "tiktokLandscape",
      -  "youtubeShorts",
      -  "youtubeLandscape",
      -  "youtubeThumbnail",
      -  "youtubeBanner",
      -  "facebookReels",
      -  "facebookFeed",
      -  "linkedinFeedSquare",
      -  "linkedinFeedLandscape",
      -  "xFeedLandscape",
      -  "xFeedPortrait",
      -  "instagram-reels",
      -  "instagram-story",
      -  "instagram-feed-tall",
      -  "instagram-feed-portrait",
      -  "instagram-feed-square",
      -  "instagram-feed-landscape",
      -  "tiktok-video",
      -  "tiktok-in-feed",
      -  "tiktok-square",
      -  "tiktok-landscape",
      -  "youtube-shorts",
      -  "youtube-video",
      -  "youtube-landscape",
      -  "youtube-thumbnail",
      -  "youtube-channel-banner",
      -  "youtube-banner",
      -  "facebook-reels",
      -  "facebook-feed",
      -  "linkedin-video",
      -  "linkedin-feed-square",
      -  "linkedin-feed-landscape",
      -  "x-video",
      -  "x-feed-landscape",
      -  "x-feed-portrait"
      -]New value: +[
      +  "instagramReels",
      +  "instagramStory",
      +  "instagramFeedTall",
      +  "instagramFeedPortrait",
      +  "instagramFeedSquare",
      +  "instagramFeedLandscape",
      +  "tiktokInFeed",
      +  "tiktokSquare",
      +  "tiktokLandscape",
      +  "youtubeShorts",
      +  "youtubeLandscape",
      +  "youtubeThumbnail",
      +  "youtubeBanner",
      +  "facebookReels",
      +  "facebookFeed",
      +  "facebookProfile",
      +  "facebookCover",
      +  "linkedinFeedSquare",
      +  "linkedinFeedLandscape",
      +  "linkedinLinkImage",
      +  "linkedinProfilePhoto",
      +  "linkedinProfileCover",
      +  "linkedinPageLogo",
      +  "linkedinPageCover",
      +  "xFeedLandscape",
      +  "xFeedPortrait",
      +  "xProfile",
      +  "xHeader",
      +  "pinterestPin",
      +  "instagram-reels",
      +  "instagram-story",
      +  "instagram-feed-tall",
      +  "instagram-feed-portrait",
      +  "instagram-feed-square",
      +  "instagram-feed-landscape",
      +  "tiktok-video",
      +  "tiktok-in-feed",
      +  "tiktok-square",
      +  "tiktok-landscape",
      +  "youtube-shorts",
      +  "youtube-video",
      +  "youtube-landscape",
      +  "youtube-thumbnail",
      +  "youtube-channel-banner",
      +  "youtube-banner",
      +  "facebook-reels",
      +  "facebook-feed",
      +  "linkedin-video",
      +  "linkedin-feed-square",
      +  "linkedin-feed-landscape",
      +  "x-video",
      +  "x-feed-landscape",
      +  "x-feed-portrait"
      +]
    • addedOutput schema / properties / displayedAsCircle
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / safeAreaKind / enum
      Previous value: -[
      -  "published",
      -  "unpublished",
      -  "noOverlay",
      -  "region"
      -]New value: +[
      +  "published",
      +  "unpublished",
      +  "noOverlay",
      +  "region",
      +  "circle"
      +]
    • addedOutput schema / properties / sizeIsPlatformPublished
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / sizeSourceUrl
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / verifiedOn
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "platform",
      -  "kind",
      -  "ratio",
      -  "size",
      -  "safeAreaKind",
      -  "safeAreaInsetsPx",
      -  "usableBoxPx",
      -  "usableSharePct",
      -  "regionPx",
      -  "unpublishedReason",
      -  "firstPartySourceUrl",
      -  "referenceToolUrl",
      -  "fit"
      -]New value: +[
      +  "id",
      +  "platform",
      +  "kind",
      +  "ratio",
      +  "size",
      +  "safeAreaKind",
      +  "safeAreaInsetsPx",
      +  "usableBoxPx",
      +  "usableSharePct",
      +  "regionPx",
      +  "unpublishedReason",
      +  "displayedAsCircle",
      +  "sizeIsPlatformPublished",
      +  "sizeSourceUrl",
      +  "firstPartySourceUrl",
      +  "verifiedOn",
      +  "referenceToolUrl",
      +  "fit"
      +]
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses non-obvious behavior: sourceWidth and sourceHeight must be passed together to receive a centre-crop and letterbox plan, TikTok inset values are null with a reason, and specific errors occur for unknown ids or a single source dimension. This adds substantial operational context that annotations alone do not supply.

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?

The description is front-loaded with the lookup purpose and return fields, then adds usage guidance and edge cases without filler. Each sentence carries useful information for selecting or invoking the tool.

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?

Given an output schema already exists, the description does not need to explain every return value. It still covers the key outputs, optional crop-plan behavior, and important error cases, making the definition complete enough for correct invocation.

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 already 100%, so the description's main added value is explaining the paired source-dimension behavior and what it produces. It reinforces that both dimensions must be supplied together and that one alone is an error, which is meaningful beyond the schema's field descriptions.

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 states a specific verb and resource: look up one social media placement by id. It then enumerates the returned spec fields (frame size, aspect ratio, safe-area insets, usable box, source page), making the tool's scope immediately distinguishable from the list/browse sibling.

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 explicitly says when to use this tool (known target placement) and names alternatives with their distinct roles: list_social_media_placements for browsing/comparison, check_safe_area for element clearance, and calculate_aspect_ratio for non-platform ratios. This is clear routing guidance with no major ambiguity.

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.