getUserAccessKey
Retrieve authenticated user access key. Required: authentication, confirmation. Returns: access key, metadata.
This record as markdown: /tools/ai-xpoz-social-insights/getuseraccesskey.md
What getUserAccessKey does on Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ)
AI agents call getUserAccessKey to retrieve information from Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
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 | — | |
confirmRetrieval | boolean | Yes | Must be true to retrieve key. Security confirmation required. |
Parameters from the server's own tool schema.
Why getUserAccessKey is rated Low
While this tool retrieves data (Read category), it returns sensitive authentication credentials—an access key. This elevates severity to 'high' because compromised access keys could enable unauthorized access to the social media APIs and 1.5B+ posts, allowing lateral misuse of other tools on this server. It does not execute code, modify data, delete data, or move money, so Read is the correct category.
From the tool's definition Tool name is 'getUserAccessKey' and description states it 'Retrieve[s] authenticated user access key' with 'Returns: access key, metadata.' The verb 'Retrieve' and return of credentials/keys indicates a Read operation that queries and returns authentication…
Attacks that exploit this kind of access
The rule that runs getUserAccessKey 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 getUserAccessKey, this is the rule to start with:
getUserAccessKey is read-only, so it stays allowed. 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 getUserAccessKey call is checked against it from then on.
Questions about getUserAccessKey
Retrieve authenticated user access key. Required: authentication, confirmation. Returns: access key, metadata. It is categorised as a Read tool in the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP Server, which means it retrieves data without modifying state.
getUserAccessKey accepts 3 parameters: feedback, _requestId, confirmRetrieval. Required: confirmRetrieval. 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 getUserAccessKey: 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.
getUserAccessKey is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the getUserAccessKey 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 getUserAccessKey. 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.
getUserAccessKey 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