Skip to main content
Glama

get_tweet_edit_history

Retrieve the edit history of an X/Twitter post to get IDs for every version and track changes; returns data only for posts that were actually edited.

Instructions

Edit history of a post (ids of every version).

Only populated for posts that were actually edited.

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": {
      "tweet_id": "<tweet_id>"
    },
    "name": "get_tweet_edit_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
tweet_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.6
    • changedInput schema / properties / tweet_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, but it does disclose the key behavioral trait: results are empty unless the post was actually edited. It says nothing about permissions, ordering of versions, or what the ids resolve to, and does not indicate whether unedited posts return an empty list or an error.

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 short sentences with the result shape front-loaded and the population caveat immediately after; there is no filler and every sentence carries information the agent needs.

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?

The tool is simple, an output schema exists to describe the returned ids, and the one non-obvious behavior (empty unless edited) is stated. Only the empty-result semantics and version ordering are left unstated.

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 0%, so the schema documents nothing about tweet_id; the description compensates only indirectly by referring to 'a post'. For a single self-describing identifier parameter this is a minor gap, but the description adds no meaning beyond the parameter name.

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?

States a specific resource and result: the edit history of a post, returned as ids of every version. An agent can distinguish this from get_tweet because the description names 'edit history' and 'every version' explicitly, though it never names a sibling tool as an alternative.

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 clause 'Only populated for posts that were actually edited' implicitly tells the agent when this tool is meaningful and when it will come back empty, which is the most important usage condition. It offers no explicit when-to-use vs. when-not guidance or named alternative such as get_tweet for unedited posts.

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

Deploy Server

Other Tools