Tools
The ten tools of the MCP server, and which one an agent should call first.
Each tool takes one object: the path parameters and the query or the body of its HTTP endpoint. It returns the same JSON as the endpoint. When a tool fails, the result has isError: true, and its content is the same error body that the endpoint returns.
| Tool | What it does |
|---|---|
lookup | Get the current card of one account or post. |
account_history | Get the counts of one account over time. |
post_history | Get every measurement of one post over time. |
search_posts | Find posts by words, filters, and sort. |
search_accounts | Find and rank accounts by words, filters, and sort. |
watchlists | List the watchlists of your organization. |
watchlist_items | List the accounts and posts in one watchlist. |
track | Add accounts or posts to a watchlist. |
untrack | Remove an account or a post from a watchlist. |
sql | Run one read-only SQL query. |
The API reference has one page per tool, with every input, every field, and an example.
Which tool to call first
- The task names an account or a post (a link or a handle): call
lookup. It returns the current numbers and the id thataccount_history,post_history, anduntracktake. - The task is about a topic, a ranking, or "the top posts": call
search_postsorsearch_accounts. They cost 0 credits. - The task is about the user's own watchlists: call
watchlists, thenwatchlist_itemsor the search tools withwatchlist. - No other tool answers it: call
sql.
Only lookup and track can cost credits. Give an agent socialdata has a ready set of rules.