Skip to main content
Glama

NotPeople Tools

Count characters the way X does

count_x_characters
Read-only

Weighted length of a post as X counts it (links are 23, most emoji and CJK are 2), whether it fits, and where the timeline cuts it with “Show more”.

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>"
    },
    "name": "count_x_characters"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe post text.
premiumNoPremium accounts can post up to 25,000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a safe, read-only operation. The description adds useful behavioral context by explaining X's weighting rules for links, emoji, and CJK characters, plus the 'Show more' truncation behavior.

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?

The description is a single dense sentence that front-loads the core computation and then adds the fit and truncation behavior. It is efficient, though the sentence is somewhat long and could be split for easier scanning.

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 simple two-parameter read-only tool with full schema coverage, the description provides enough context about what is computed and what the result helps determine. It does not explain exact output formatting, but the lack of an output schema makes that less critical.

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 both the text and premium parameters are already well documented in the input schema. The description reinforces the X weighting context but does not add parameter-specific meaning beyond what the schema provides.

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?

The description clearly states that the tool computes X-style weighted length, whether the post fits, and where the timeline truncates it. It is specific about the resource and behavior, though it does not explicitly distinguish itself from the sibling find_hidden_characters.

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?

The description implies the tool is used to check whether a post fits within X limits and where it will be truncated. However, it provides no explicit when-to-use guidance or comparison against alternatives such as find_hidden_characters.

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