Skip to Content
socialdata

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.

ToolWhat it does
lookupGet the current card of one account or post.
account_historyGet the counts of one account over time.
post_historyGet every measurement of one post over time.
search_postsFind posts by words, filters, and sort.
search_accountsFind and rank accounts by words, filters, and sort.
watchlistsList the watchlists of your organization.
watchlist_itemsList the accounts and posts in one watchlist.
trackAdd accounts or posts to a watchlist.
untrackRemove an account or a post from a watchlist.
sqlRun 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 that account_history, post_history, and untrack take.
  • The task is about a topic, a ranking, or "the top posts": call search_posts or search_accounts. They cost 0 credits.
  • The task is about the user's own watchlists: call watchlists, then watchlist_items or the search tools with watchlist.
  • No other tool answers it: call sql.

Only lookup and track can cost credits. Give an agent socialdata has a ready set of rules.

On this page