Skip to main content
Glama

X (Twitter) MCP by InsightfulPipe

X Data Query

query_data
Read-only

Query X data (Step 3 (FINAL) of workflow).

REQUIRED: Complete these steps first using query_contexts:

  1. request='accounts' - Get workspace_id, brand_id, account_id AND available_actions

  2. request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions

IMPORTANT: Always call step 2 to see the exact body structure before querying.

Rely on info from steps 1-2 to construct the query body. Follow the schema exactly.

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": {
      "body": "<body>"
    },
    "name": "query_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with a read/query operation. It adds real behavioral context beyond the annotations: the call will fail or produce an invalid request unless two prior context calls have supplied workspace_id, brand_id, account_id and the exact action body structure. It does not cover error behavior or what happens when the body violates the server-side schema beyond "Follow the schema exactly".

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?

Front-loaded with the workflow position, then a numbered prerequisite list, then a warning — good ordering with no filler. Minor noise from the nested "Step 3 (FINAL)" styling and the literal 'xxxxxx' placeholders in the example arguments.

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?

An output schema exists, so return values need not be described, and the prerequisite chain needed to form a valid body is fully spelled out. What remains thin is the actual data domain ("X data") and any notion of what the body can contain, which the definition delegates entirely to a sibling call.

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?

The single `body` parameter has 0% schema description coverage and is declared only as a free-form object with additionalProperties, so the schema conveys no structure. The description partially compensates by telling the agent to build the body from steps 1-2 (accounts + actions_details), which is genuinely the only way to know the shape, but it never enumerates or characterizes any body field itself, and "Follow the schema exactly" is unhelpful when the schema is empty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Query X data" gives a verb but the resource is left as a placeholder ("X data") that names no actual entity or data domain. The parenthetical "Step 3 (FINAL) of workflow" does differentiate it from query_contexts (steps 1-2) and execute_action, so an agent can place it in the sequence even though it cannot tell what data it returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the alternative tool (query_contexts), the exact requests to run first ('accounts', then 'actions_details' with actions from available_actions), and states "Always call step 2" before querying. The ordering constraint is explicit enough that an agent cannot reasonably call this cold.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.