# getDirectMessagesEvents

List direct message events across all conversations.

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

## Facts

- Tool: `getDirectMessagesEvents`
- 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": "getDirectMessagesEvents",
    "arguments": {}
  }
}
```

## Why getDirectMessagesEvents is rated Low

This tool queries and retrieves direct message event data without any capability to create, modify, delete, or execute operations. The verb 'List' and 'get' prefix are characteristic of Read operations. The blast radius is limited to information disclosure of the user's own direct message history, which is low severity.

From the tool's own definition: "Tool name 'getDirectMessagesEvents' and description 'List direct message events across all conversations' clearly indicate a retrieval operation with no modification capability."

## Use case

AI agents call getDirectMessagesEvents 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": {
    "getDirectMessagesEvents": {}
  }
}
```

## 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
- `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
- `getInsightsHistorical` — Read — https://policylayer.com/tools/xdevplatform-xmcp/getinsightshistorical.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
