The agent queries a collection that definitely contains data and gets zero results — no error. What happened?
The signature silent failure of document databases: BSON type mismatch. The agent generated an _id filter as a string while the field stores ObjectId — MongoDB returns an empty result set, never a type error, and the agent confidently concludes the data does not exist. A sibling variant: the connection string omitted the database name, so every query hits the default test database. The engineering fix: instruct the agent to run a $sample stage first and mirror the observed BSON types exactly, and always embed the target database in the connection string path. The schema introspection tool exists precisely for this failure class.