Skip to main content
Glama
IvanBBaev
by IvanBBaev

x_post_counts_archive

Read-only

Show post counts per minute, hour, or day for any X query over the full archive since 2006. Returns only counts and timestamps to check volume before a full-archive search.

Instructions

Return a volume histogram (post counts per time bucket) for an X (Twitter) v2 query over the complete archive back to 2006, at minute/hour/day granularity. The result carries only counts and ISO timestamps — never post text — so it is inherently safe to surface, and it is the cheap way to gauge volume before a full-archive search.

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 declare readOnlyHint and openWorldHint, and the description adds valuable behavioral context: the result contains only counts and ISO timestamps, never post text, making it safe to surface. This goes beyond the annotations by explaining the data-shape guarantee, though it does not cover rate limits or pagination behavior.

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 dense sentences with no filler. The core action, scope, and granularity are front-loaded, followed by safety and use-case context. Every sentence earns its place.

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 an output schema present and all parameters documented in the schema, the description covers the essential selection and invocation context: archive scope, granularity options, safety, and typical use. Minor behavioral details like pagination are left to the schema, which is acceptable.

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 all six parameters. The description adds minimal parameter-level value beyond restating granularity and the count-only result; it does not define start_time, end_time, page_token, or raw beyond what the schema provides.

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 uses a specific verb ('Return') and clearly identifies the resource: a volume histogram of post counts for an X v2 query over the complete archive back to 2006. It also states the granularity options, making it immediately distinguishable from sibling tools like x_post_counts_recent and x_search_archive.

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 a clear use case: gauge volume cheaply before running a full-archive search. It also implies differentiation from recent-count tools by emphasizing 'complete archive back to 2006', but it does not explicitly name alternatives or say when not to use this tool.

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