Skip to main content
Glama
IvanBBaev
by IvanBBaev

x_post_counts_recent

Read-only

Generate a post-count volume histogram for an X (Twitter) query over the last 7 days, with minute/hour/day buckets. Returns only counts and timestamps, never post text, so it is safe to display.

Instructions

Return a volume histogram (post counts per time bucket) for an X (Twitter) v2 query over the last 7 days, at minute/hour/day granularity. The result carries only counts and ISO timestamps — never post text — so it is inherently safe to surface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the exact API JSON instead of the compact histogram.
queryYesX (Twitter) v2 search query to count.
end_timeNoNewest bucket timestamp (ISO-8601 UTC).
page_tokenNoOpaque pagination cursor returned as next_token by a previous call.
start_timeNoOldest bucket timestamp (ISO-8601 UTC).
granularityNoHistogram bucket size; defaults to hour.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
summaryNo
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, and the description adds meaningful behavioral context: output is limited to counts and ISO timestamps only, making the tool safe to surface. It does not discuss pagination or token limits, but the annotation coverage lowers the burden.

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?

Two sentences front-load the core function and key constraints with no wasted words. The safety clause earns its place by positioning the tool for safe surfacing.

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?

With full schema coverage, an output schema, and read-only annotations, the description covers what the tool returns, its supported granularities, and its limiting time window. Nothing essential to a correct call is missing.

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 description does not need to re-document parameters. The 'last 7 days' phrase adds a default-window hint not in the schema, but the description generally relies on the schema for parameter meaning.

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 names a specific verb (Return), resource (volume histogram for X v2 query), and temporal scope (last 7 days), with explicit granularity options. It differentiates from content-returning siblings by stating the result contains only counts and timestamps, never post text.

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 description clearly implies this is the tool for recent count-only volume analysis, not for retrieving post content, by emphasizing histogram buckets and the absence of post text. It does not explicitly name alternatives or state when-not-to-use it, so it falls just short of full routing guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IvanBBaev/x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server