list-users

List all users in the database

Server MongoDB MCP Server jb-7-jay/learn-mcp-server-mongo
Category Read
Risk class Low
Parameters 00 required

What list-users does on MongoDB MCP Server

AI agents call list-users to retrieve information from MongoDB MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why list-users needs a policy

This tool queries and retrieves user data from the MongoDB database without modifying, creating, or deleting any records. It is a pure read operation that returns existing data. The low severity reflects that exposure of a user list retrieval has minimal blast radius—it may reveal user identities but does not alter state or enable destructive actions.

From the tool's definition Tool name 'list-users' and description 'List all users in the database' indicate a retrieval operation with no side effects.

Risk signalsBulk/mass operation — affects multiple targets

Questions about list-users

What does the list-users tool do? +

List all users in the database. It is categorised as a Read tool in the MongoDB MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on list-users? +

Register the MongoDB MCP Server MCP server in PolicyLayer and add a rule for list-users: 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 MongoDB MCP Server. Nothing to install.

What risk level is list-users? +

list-users is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit list-users? +

Yes. Add a rate_limit block to the list-users 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.

How do I block list-users completely? +

Set action: deny in the PolicyLayer policy for list-users. 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.

What MCP server provides list-users? +

list-users is provided by the MongoDB MCP Server MCP server (jb-7-jay/learn-mcp-server-mongo). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.