Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

x_trends_locations

List X trends locations with names, WOEIDs, place types, and country codes, or resolve the nearest location from latitude and longitude. Use WOEIDs with x_trends to fetch local trending topics.

Instructions

List or resolve X trends locations. Without coordinates, returns X's complete trends location catalog: each location's name, WOEID, place type, parent WOEID, country and ISO country code. Pass those WOEIDs to x_trends for that location's trending topics. With both lat and long, resolves the single nearest catalog location instead of listing the catalog; both coordinates are required together.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x_trends_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (-90 to 90) for nearest-location resolution; requires long.
longNoLongitude (-180 to 180) for nearest-location resolution; requires lat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses the return fields, states that the catalog is complete, and explains that nearest-location resolution returns exactly one result. It stops short of covering error behavior for invalid coordinates or out-of-range values, which would have earned a 5.

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?

The description is three tight sentences with no waste. The catalog-listing behavior is front-loaded, followed by the handoff to x_trends, and the conditional coordinate mode comes last where it is most useful as a qualifier.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must explain return values; it does so by enumerating name, WOEID, place type, parent WOEID, country, and ISO country code. For a two-parameter, side-effect-free lookup tool, an agent has everything needed to call it correctly.

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 coverage is already 100%, so the schema documents both parameters. The description still adds meaningful semantics beyond the schema by stating that lat and long must be supplied together and that supplying them switches the tool from listing to single-location resolution.

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 opening sentence names the exact verb set and resource: 'List or resolve X trends locations.' It immediately distinguishes the tool from x_trends by naming what this tool produces (WOEID catalog) versus what the sibling consumes (trending topics).

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?

The description gives explicit mode selection: no coordinates lists the full catalog, while providing both lat and long resolves the nearest single location. It also routes the agent forward by telling it to pass returned WOEIDs to x_trends, which is the natural alternative.

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