Skip to main content
Glama

Preview Content

preview_content
Read-onlyIdempotent

Generate a visual preview of how content will appear on each platform.

USE THIS WHEN: • Before publishing to see how posts will look • To validate content against platform requirements • To check character counts, hashtag limits, and media requirements

Returns an HTML preview mockup for each platform with validation results: • Character count vs limit • Hashtag count (Instagram has 30 max) • Media requirement check • Platform-specific warnings and errors

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
platformsYesPlatforms to generate previews for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
isErrorNo
summaryNo
previewsNo
errorMessageNo
followUpSuggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedOutput schema / properties / errors
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / platforms
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / previews
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "hasIssues": {
      +        "type": "boolean"
      +      },
      +      "html": {
      +        "type": "string"
      +      },
      +      "platform": {
      +        "enum": [
      +          "x",
      +          "linkedin",
      +          "linkedin-page",
      +          "facebook",
      +          "instagram",
      +          "threads",
      +          "bluesky",
      +          "mastodon",
      +          "nostr",
      +          "youtube",
      +          "tiktok",
      +          "lemmy",
      +          "discord",
      +          "slack",
      +          "telegram",
      +          "pinterest",
      +          "dribbble",
      +          "devto",
      +          "hashnode",
      +          "gmb",
      +          "whop",
      +          "producthunt"
      +        ],
      +        "type": "string"
      +      },
      +      "validation": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "charCount": {
      +            "type": "number"
      +          },
      +          "charLimit": {
      +            "type": "number"
      +          },
      +          "errors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "warnings": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "charCount",
      +          "charLimit",
      +          "errors",
      +          "warnings"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "platform",
      +      "html",
      +      "hasIssues",
      +      "validation"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / summary
      Added value: +{
      +  "properties": {
      +    "errorCount": {
      +      "type": "number"
      +    },
      +    "hasIssues": {
      +      "type": "boolean"
      +    },
      +    "totalPlatforms": {
      +      "type": "number"
      +    },
      +    "warningCount": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "totalPlatforms",
      +    "hasIssues",
      +    "errorCount",
      +    "warningCount"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / valid
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / warnings
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  2. Changed6 schema fields changed
    • addedOutput schema / properties / errors
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / platforms
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / previews
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "hasIssues": {
      -        "type": "boolean"
      -      },
      -      "html": {
      -        "type": "string"
      -      },
      -      "platform": {
      -        "enum": [
      -          "x",
      -          "linkedin",
      -          "linkedin-page",
      -          "facebook",
      -          "instagram",
      -          "threads",
      -          "bluesky",
      -          "mastodon",
      -          "nostr",
      -          "youtube",
      -          "tiktok",
      -          "lemmy",
      -          "discord",
      -          "slack",
      -          "telegram",
      -          "pinterest",
      -          "dribbble",
      -          "devto",
      -          "hashnode",
      -          "gmb",
      -          "whop",
      -          "producthunt"
      -        ],
      -        "type": "string"
      -      },
      -      "validation": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "charCount": {
      -            "type": "number"
      -          },
      -          "charLimit": {
      -            "type": "number"
      -          },
      -          "errors": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "warnings": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "charCount",
      -          "charLimit",
      -          "errors",
      -          "warnings"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "platform",
      -      "html",
      -      "hasIssues",
      -      "validation"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / summary
      Removed value: -{
      -  "properties": {
      -    "errorCount": {
      -      "type": "number"
      -    },
      -    "hasIssues": {
      -      "type": "boolean"
      -    },
      -    "totalPlatforms": {
      -      "type": "number"
      -    },
      -    "warningCount": {
      -      "type": "number"
      -    }
      -  },
      -  "required": [
      -    "totalPlatforms",
      -    "hasIssues",
      -    "errorCount",
      -    "warningCount"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / valid
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed6 schema fields changed
    • removedOutput schema / properties / errors
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / platforms
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / previews
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "hasIssues": {
      +        "type": "boolean"
      +      },
      +      "html": {
      +        "type": "string"
      +      },
      +      "platform": {
      +        "enum": [
      +          "x",
      +          "linkedin",
      +          "linkedin-page",
      +          "facebook",
      +          "instagram",
      +          "threads",
      +          "bluesky",
      +          "mastodon",
      +          "nostr",
      +          "youtube",
      +          "tiktok",
      +          "lemmy",
      +          "discord",
      +          "slack",
      +          "telegram",
      +          "pinterest",
      +          "dribbble",
      +          "devto",
      +          "hashnode",
      +          "gmb",
      +          "whop",
      +          "producthunt"
      +        ],
      +        "type": "string"
      +      },
      +      "validation": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "charCount": {
      +            "type": "number"
      +          },
      +          "charLimit": {
      +            "type": "number"
      +          },
      +          "errors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "warnings": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "charCount",
      +          "charLimit",
      +          "errors",
      +          "warnings"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "platform",
      +      "html",
      +      "hasIssues",
      +      "validation"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / summary
      Added value: +{
      +  "properties": {
      +    "errorCount": {
      +      "type": "number"
      +    },
      +    "hasIssues": {
      +      "type": "boolean"
      +    },
      +    "totalPlatforms": {
      +      "type": "number"
      +    },
      +    "warningCount": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "totalPlatforms",
      +    "hasIssues",
      +    "errorCount",
      +    "warningCount"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / valid
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / warnings
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "errorMessage": {
      +      "type": "string"
      +    },
      +    "errors": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "followUpSuggestions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "isError": {
      +      "type": "boolean"
      +    },
      +    "platforms": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "valid": {
      +      "type": "boolean"
      +    },
      +    "warnings": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so safety is covered. The description adds real value beyond that by disclosing the return shape (HTML mockup per platform plus validation results) and specific checks performed, such as the 30-hashtag Instagram cap and media requirement checks.

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?

Front-loaded purpose sentence followed by tightly bulleted when-to-use and return-value sections; each bullet carries distinct information. Slightly redundant to restate return contents when an output schema exists, but nothing is wasted.

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 read-only preview tool with an output schema, the description covers purpose, triggers, and what the result contains. The remaining gap is platform-specific behavior nuance (e.g., which platforms support carousels), which is minor given the schema enumerates the supported platforms.

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 only 50% and the platforms parameter carries a 22-value enum that the description never enumerates. The description does imply what the content fields drive (character counts, hashtags, media requirements), which partially compensates, but it adds no syntax or format detail beyond the schema.

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?

States a specific verb and resource: 'Generate a visual preview of how content will appear on each platform.' This clearly separates it from mutation siblings like publish_content, though it doesn't explicitly distinguish itself from the adjacent validate_content / get_platform_requirements tools that also deal with platform requirements.

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?

An explicit 'USE THIS WHEN' block gives three concrete scenarios (pre-publish check, requirement validation, character/hashtag/media check). It stops short of naming alternatives or when-not-to-use (e.g., versus validate_content), so it is clear context without exclusions.

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.