Skip to main content
Glama
Social PostLint-MCP

Social PostLint-MCP

check_post

Read-onlyIdempotent

Validate a social post against a platform's real character limit. Returns the counted length, the limit, and what drove the count, so you know it fits before publishing.

Instructions

Check a social post against one platform's real character limit and report whether it fits. Returns the counted length, the limit, and what drove the count (URLs billed at a fixed width, non-Latin characters billed double, emoji sequences collapsed to one grapheme). Use this before publishing anything with a hard limit — the counting rules are per-platform and are not text.length.

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": {
      "text": "<text>",
      "platform": "<platform>"
    },
    "name": "check_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe post text, exactly as it will be published. Leading and trailing whitespace is trimmed, as the platforms do. `[URL]`-style placeholders are priced as a real link.
platformYesWhich platform's rules to apply: x, x_premium, bluesky, linkedin, threads, mastodon, discord.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent operation. The description adds meaningful behavior beyond that: it reports counted length, the limit, and what drove the count, including URL pricing, non-Latin double-counting, and emoji grapheme collapsing. It does not describe failure modes or unexpected inputs, but the added behavioral detail is strong.

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 core purpose, then briefly specifies return values and counting behavior, and ends with a clear usage recommendation. Every sentence contributes useful information without repetition or unnecessary wording.

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?

This is a simple read-only checker with full schema coverage, no output schema, and annotations that cover safety. The description supplies the missing behavioral context: what the tool returns, how the text is counted, and when to use it before publishing.

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 baseline is 3. The description adds useful semantics beyond the schema by explaining that URLs are billed at a fixed width, non-Latin characters may be billed double, and emoji sequences are collapsed, which helps an agent understand how the text parameter is interpreted differently per platform.

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: check a social post against a single platform's real character limit and report whether it fits. It also distinguishes this from broader alternatives by emphasizing "one platform's" limit, which implicitly contrasts with check_post_all.

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 gives clear usage context: "Use this before publishing anything with a hard limit." It also warns that counting rules are per-platform and not equivalent to text.length. It does not explicitly name check_post_all or platform_limits as alternatives, so it falls just short of full when/when-not guidance.

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

Deploy Server

Other Tools