Skip to main content
Glama

Check a caption

check_caption
Read-onlyIdempotent

Counts a post's text the way Instagram, Facebook, YouTube, TikTok, LinkedIn and X count it, against each platform's limits: characters, X's weighted 280 (emoji 2, links 23), TikTok's UTF-16 2,200, YouTube's 100-character title and 5,000-byte description, Instagram's 5 hashtags and 20 mentions. Returns each platform's counts, limits and whether it fits.

Input Schema

NameRequiredDescriptionDefault
textYesThe post's text, hashtags included.
titleNoA YouTube title. Without one, the text's first line is used.
xPremiumNoThe X account has X Premium: 25,000 characters instead of 280.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral substance: the exact counting models per platform (X weighted 280 with emoji 2 and links 23, TikTok UTF-16 2,200, YouTube 100-char title and 5,000-byte description, hashtag and mention caps) and that it returns counts, limits and a fit verdict.

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 core action and return value. The parenthetical rule details are dense but each earns its place by explaining platform-specific counting; a slightly more scannable structure would help.

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?

With no output schema, the description carries the burden of explaining the return value, and it does so ('counts, limits and whether it fits'). For a read-only three-parameter tool this is nearly complete, though it never mentions xPremium's effect on the X limit, which the schema covers instead.

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 description coverage is 100%, so the schema already documents text, title and xPremium, including the 25,000-character Premium fallback that the description omits. The description's counting rules add context but do not map additional meaning onto specific parameters.

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 ('Counts a post's text') and names the platforms and limits it targets. It is clearly distinguishable from siblings like get_platform_specs because it evaluates a given text rather than listing specs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is for pre-post validation, but the description never states when to use it versus get_platform_specs or check_video, and offers no exclusions or prerequisites.

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