Skip to main content
Glama

get_user_likes

Retrieves posts a specified X/Twitter user has liked, with an optional result limit; results are often empty because X hides likes for most accounts.

Instructions

Posts a user liked.

Usually empty: X hides likes for most accounts.

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": {
      "user_id": "<user_id>"
    },
    "name": "get_user_likes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
user_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.6
    • removedInput schema / properties / limit / description
      Removed value: -"Max tweets to return (default 20, max 100)."
    • removedInput schema / properties / user_id / description
      Removed value: -"The numeric user ID."
    • changedInput schema / properties / user_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose one genuinely non-obvious behavioral trait — that the response is normally empty due to platform-level privacy hiding — which is high-value context. However, it omits other relevant behavior: whether authorization is required (likes are private, so the caller must be the user or authorized), pagination behavior with the limit parameter, and whether an empty result means 'no permission' versus 'no likes'.

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 with no filler, and the critical caveat is placed prominently right after the one-line purpose. The telegraphic first fragment costs a little readability but nothing is wasted.

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?

An output schema exists, so return-value shape need not be explained. Still, for a tool with zero annotation coverage and zero parameter documentation, the description leaves the authorization model and the limit parameter unexplained, which is a meaningful gap for anything returning private account data.

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% across two parameters, so the description must compensate and does not. Neither user_id nor limit is mentioned; in particular the meaning and maximum of limit, and whether user_id must be the authenticated account, are left entirely to guesswork from the bare JSON types.

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 phrase 'Posts a user liked' identifies the specific resource (a user's liked posts) and implicitly the owning account, which distinguishes it clearly from siblings like get_user_tweets or get_user_media. It is a noun fragment rather than an explicit verb+resource statement, so it falls just short of full clarity.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The note that results are 'usually empty' because X hides likes functions as a de facto decision cue, but the agent must infer the routing decision on its own.

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