Skip to main content
Glama
SreeTarak2

DataFlow MCP Server

by SreeTarak2

read_collection

Retrieve documents from a MongoDB collection with optional filtering, sorting, and pagination.

Instructions

Read documents from a MongoDB collection with filtering and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNoNumber of documents to skip for pagination
limitNoMaximum number of documents to return (max 1000)
sort_byNoField name to sort by (optional)
filter_queryNoJSON string with MongoDB filter query (optional)
collection_nameYesName of the collection to read from

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'Read documents' which implies read-only, but it does not explicitly state that it does not modify data, nor does it disclose behavior like error handling, collection existence requirements, or performance implications. The mention of filtering and pagination is already evident from the schema and adds little beyond it.

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, front-loaded sentence with no wasted words. It efficiently conveys the core action, target resource, and key capabilities without redundancy.

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?

Given that the output schema exists and the input schema fully describes parameters, the description need not explain return values or parameter syntax. It is sufficient for a straightforward read tool, though it could be slightly more complete by noting any unique behaviors or prerequisites. Still, the provided schema and description together cover the essential context.

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 all five parameters, so the schema already fully documents each parameter. The description's reference to filtering and pagination adds minimal semantic value beyond what the schema provides, which aligns with the baseline score of 3.

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

Purpose4/5

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

The description clearly states the tool reads documents from a MongoDB collection with filtering and pagination, using a specific verb and resource. However, it does not distinguish itself from similar siblings like read_raw_collection or get_document, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as get_document or read_raw_collection. It only states what it does without any context on selection criteria or exclusions.

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/SreeTarak2/dataflow_mcp'

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