Skip to main content
Glama

get_tweets

Fetch multiple X/Twitter posts by comma-separated IDs in one call, reducing repeated requests and reporting missing IDs instead of failing the whole batch.

Instructions

Fetch several posts by id in one call (comma-separated).

Cheaper than looping get_tweet. Missing ids are reported in missing instead of failing the whole batch.

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_ids": "<tweet_ids>"
    },
    "name": "get_tweets"
  }
}

Input Schema

NameRequiredDescriptionDefault
tweet_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.6

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden and does disclose the most important non-obvious trait: partial failure is tolerated, with unknown ids surfacing in a `missing` field rather than aborting the batch. It omits other operational details such as batch-size limits or authentication requirements, which keeps it below the top mark.

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?

Three short sentences, front-loaded with the core capability, followed by the cost rationale and the failure behavior. Every sentence adds distinct information with no filler.

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?

For a one-parameter batch-read tool with an output schema documenting the return shape, the description covers what matters: batching, cost versus looping, and partial-failure semantics. Only input-volume limits and auth context are absent, which are minor gaps given the output schema exists.

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

Parameters4/5

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

Schema description coverage is 0% and the single `tweet_ids` property is an undescribed string, so the schema alone gives no format guidance. The description compensates by specifying "comma-separated" and the plural/batch nature of the input, though it does not state a maximum number of ids or duplicate-handling behavior.

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 opens with a specific verb and resource ("Fetch several posts by id in one call") and immediately distinguishes itself from the single-item sibling get_tweet. An agent can tell exactly what this tool retrieves and how it differs from the singular alternative without opening any schema.

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 clear routing guidance: use this instead of looping get_tweet when several ids are needed, which is a concrete when-to-use condition tied to a named sibling. It stops short of explicit exclusions such as a maximum batch size or when a single-id call is preferred, so it is strong but not fully exhaustive.

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