Skip to main content
Glama
x-agent-kit

x-agent-kit

by karthikrshet

x_preview_thread

Split long text into X/Twitter thread posts and preview the output without publishing; use '---' on its own line to force breaks before posting.

Instructions

Split long text into thread posts WITHOUT posting. Use '---' on its own line to force a break. Always show this preview to the user before x_post_thread.

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": "x_preview_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
numberingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral fact that nothing is published, plus the '---' override for manual breaks. It says nothing about the splitting rule itself (target length per post, what happens to URLs or very long unbroken tokens) or whether the user confirmation is mandatory for the agent or merely advisory.

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 short sentences, both front-loaded with the operative information (no posting first, then the delimiter rule, then the workflow requirement). Efficient, though the delimiter hint sits mid-sentence where a separate clause would scan faster.

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 2-parameter tool with no output schema and no annotations, the agent still lacks the return shape (list of post strings? character counts?) and the undocumented 'numbering' parameter. The workflow constraint is covered, but the mechanics of what the preview yields are not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define both parameters itself. It conveys that 'text' is the input to be split and that '---' lines within it force breaks, but the 'numbering' boolean is never mentioned, leaving one of two parameters entirely undefined across both description and schema.

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?

States a specific verb and resource ("Split long text into thread posts") and immediately negates the side effect with "WITHOUT posting", which cleanly separates it from the sibling x_post_thread. An agent can identify the tool's job from the first clause alone.

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?

Gives clear placement in the workflow: "Always show this preview to the user before x_post_thread" names the follow-up tool and the condition that triggers this one. It does not state when not to use it or how it relates to other siblings such as x_format_post, so it stops short of full alternative coverage.

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