Skip to main content
Glama

sprkly-mcp

Validate against platform rules

sprkly_validate_post_policy
Read-only

Check a caption against each target platform's posting rules before scheduling: caption length, media requirements, hashtag ceilings, whether links are clickable, required YouTube titles, and PII or prohibited-content warnings. Pure analysis. Writes nothing.

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": {
      "caption": "<caption>",
      "platforms": "<platforms>"
    },
    "name": "sprkly_validate_post_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoPost title. Required for YouTube, max 100 characters.
captionYesThe caption to check.
hashtagsNoHashtags posted alongside the caption, if they are not already in it.
mediaKindNophoto when every attached item is a photo. A TikTok photo post takes a 4,000-character caption; a video, or leaving this out, checks 2,200.
platformsYesTarget platforms to check against.
platformMetaNoPlatform-specific publishing options, keyed by platform.
mediaUrlsCountNoHow many images or videos will be attached. Instagram and TikTok require at least one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x",
      -  "linkedin"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x",
      +  "linkedin",
      +  "telegram"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / mediaKind
      Added value: +{
      +  "description": "photo when every attached item is a photo. A TikTok photo post takes a 4,000-character caption; a video, or leaving this out, checks 2,200.",
      +  "enum": [
      +    "photo",
      +    "video"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x",
      +  "linkedin"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky"
      +]
  7. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so 'Pure analysis. Writes nothing.' largely reinforces structured data, but the enumerated list of rule categories adds genuine behavioral context about the depth of the check. It does not describe what the result looks like (pass/fail per platform, warning severity), which is the main behavioral gap given there is no output schema.

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?

Two sentences, front-loaded with the action and followed by the scope list, with the safety disclaimer last. The enumeration is long but each item names a distinct rule dimension that a caller could not infer otherwise, so it earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, no-output-schema validation tool, the description covers what is checked but says nothing about the shape of the response: whether results are per-platform, whether warnings and errors are distinguished, or whether anything is returned at all on success. With nested platformMeta left structurally undocumented, an agent must open the schema and still guess at the return contract.

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 schema already documents every parameter, including the YouTube-only title and the photo-vs-video caption limit distinction. The description gestures at the same concepts (titles, media requirements) without adding syntax, format, or priority details, so 3 is the appropriate baseline. The nested platformMeta object remains explained only as 'platform-specific publishing options' in both places.

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 a specific verb and resource ('Check a caption against each target platform's posting rules') and then enumerates exactly what is validated: caption length, media requirements, hashtag ceilings, link clickability, YouTube titles, and PII/prohibited content. Combined with 'before scheduling', an agent can immediately tell this apart from write-side siblings such as sprkly_schedule_post or sprkly_draft_post.

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?

The phrase 'before scheduling' gives a clear trigger point in the workflow, positioning this as a pre-flight check rather than a publishing action. It stops short of naming the sibling to call afterwards or stating what to do when validation passes or fails, so there is no explicit when-not guidance.

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