addTrackedItems
Add keywords/users to track. Accepts array of items with phrase, type (keyword/user/subreddit/hashtag), platform (twitter/instagram/reddit/tiktok). Subreddit is Reddit-only, hashtag is TikTok-only. Returns error if plan limit exceeded.
This record as markdown: /tools/ai-xpoz-social-insights/addtrackeditems.md
What addTrackedItems does on Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ)
AI agents use addTrackedItems to create or update resources in Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
items | array | Yes | Array of items to track. Each item has phrase, type, and platform. |
_isTrial | boolean | — | |
feedback | string | — | Optional. Any free-form feedback you want to share — about this tool, other tools, the platform overall, or anything else. Feedback does NOT have to be about th |
_requestId | string | — | |
_trialToken | string | — |
Parameters from the server's own tool schema.
Why addTrackedItems is rated Medium
An AI agent can call addTrackedItems faster than any human can review: one bad instruction and it creates or modifies resources in Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs addTrackedItems safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For addTrackedItems, this is the rule to start with:
addTrackedItems stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), apply this rule, and every addTrackedItems call is checked against it from then on.
Questions about addTrackedItems
Add keywords/users to track. Accepts array of items with phrase, type (keyword/user/subreddit/hashtag), platform (twitter/instagram/reddit/tiktok). Subreddit is Reddit-only, hashtag is TikTok-only. Returns error if plan limit exceeded. It is categorised as a Write tool in the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
addTrackedItems accepts 5 parameters: items, _isTrial, feedback, _requestId, _trialToken. Required: items. The full parameter table on this page comes from the server's own tool schema.
Register the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP server in PolicyLayer and add a rule for addTrackedItems: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ). Nothing to install.
addTrackedItems is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the addTrackedItems rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for addTrackedItems. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
addTrackedItems is provided by the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP server (https://mcp.xpoz.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), and thousands of servers like it.
Across the catalogue