# getUsersById

Retrieve a user profile information by their ID.

Agent View of the PolicyLayer registry record for `getUsersById`. HTML page: https://policylayer.com/tools/xdevplatform-xmcp/getusersbyid

## Facts

- Tool: `getUsersById`
- Server: Xdevplatform/xmcp (`xdevplatform/xmcp`) — https://policylayer.com/tools/xdevplatform-xmcp.md
- Homepage: https://github.com/xdevplatform/xmcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

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

## Why getUsersById is rated Low

This tool retrieves user profile data by ID. It is a read-only query operation with no capability to modify, delete, or execute operations. The retrieval of user profile information constitutes a Read operation. Severity is low as it only accesses profile data without affecting system state or enabling further actions. High confidence due to explicit 'Retrieve' language in the description.

From the tool's own definition: "Tool name 'getUsersById' and description 'Retrieve a user profile information by their ID' indicate data retrieval with no side effects."

## Use case

AI agents call getUsersById to retrieve information from Xdevplatform/xmcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Xdevplatform/xmcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "getUsersById": {}
  }
}
```

## Other tools on Xdevplatform/xmcp (134)

- `deleteAccountActivitySubscription` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteaccountactivitysubscription.md
- `deleteActivitySubscription` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteactivitysubscription.md
- `deleteAllConnections` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteallconnections.md
- `deleteCommunityNotes` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deletecommunitynotes.md
- `deleteConnectionsByEndpoint` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteconnectionsbyendpoint.md
- `deleteConnectionsByUuids` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteconnectionsbyuuids.md
- `deleteDirectMessagesEvents` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deletedirectmessagesevents.md
- `deleteLists` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deletelists.md
- `deleteMediaSubtitles` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deletemediasubtitles.md
- `deletePosts` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteposts.md
- `deleteUsersBookmark` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/deleteusersbookmark.md
- `removeListsMemberByUserId` — Destructive — https://policylayer.com/tools/xdevplatform-xmcp/removelistsmemberbyuserid.md
- `createComplianceJobs` — Execute — https://policylayer.com/tools/xdevplatform-xmcp/createcompliancejobs.md
- `sendChatTypingIndicator` — Execute — https://policylayer.com/tools/xdevplatform-xmcp/sendchattypingindicator.md
- `chatMediaDownload` — Read — https://policylayer.com/tools/xdevplatform-xmcp/chatmediadownload.md
- `dmConversationsMediaDownload` — Read — https://policylayer.com/tools/xdevplatform-xmcp/dmconversationsmediadownload.md
- `getAccountActivitySubscriptionCount` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getaccountactivitysubscriptioncount.md
- `getAccountActivitySubscriptions` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getaccountactivitysubscriptions.md
- `getActivitySubscriptions` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getactivitysubscriptions.md
- `getChatConversation` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getchatconversation.md
- `getChatConversations` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getchatconversations.md
- `getCommunitiesById` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getcommunitiesbyid.md
- `getComplianceJobs` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getcompliancejobs.md
- `getComplianceJobsById` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getcompliancejobsbyid.md
- `getConnectionHistory` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getconnectionhistory.md
- `getDirectMessagesEvents` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getdirectmessagesevents.md
- `getDirectMessagesEventsByConversationId` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getdirectmessageseventsbyconversationid.md
- `getDirectMessagesEventsById` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getdirectmessageseventsbyid.md
- `getDirectMessagesEventsByParticipantId` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getdirectmessageseventsbyparticipantid.md
- `getInsights28Hr` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getinsights28hr.md
- …and 104 more: https://policylayer.com/tools/xdevplatform-xmcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=xdevplatform-xmcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/xdevplatform-xmcp
