Skip to main content
Glama
kawaljain

nodejs-mcp-mongodb

by kawaljain

get_new_users

Get users created within the last N days by specifying the number of days. Queries MongoDB for recent signups.

Instructions

Get users created within the last N days

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYesNumber of days to look back
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden for behavioral disclosure. It implies a read operation via 'Get' but does not explicitly state safety (read-only), required permissions, pagination, limits, or return shape. This leaves the agent without key context for invoking the tool safely.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that immediately states the action and scope. There is no redundant text or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and no output schema, the description captures the essential purpose ('get users') and the key filter (time window). It could mention return format or pagination, but the simplicity of the operation makes the current description minimally sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the only parameter ('days' with explanation). The tool description's 'N days' aligns with the schema but adds no additional meaning beyond what is already documented, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') with a clear resource ('users') and a defining scope ('created within the last N days'). This distinguishes it from sibling tools like get_business_summary and get_pending_payments, which focus on different resources or metrics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (when needing users added within a timeframe) but provides no explicit guidance on when not to use it or how it compares to alternatives. No references to sibling tools or exclusions are present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kawaljain/nodejs-mcp-mongodb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server