# Ai Agent parsing issue with mongodb tool

**URL:** <https://community.n8n.io/t/ai-agent-parsing-issue-with-mongodb-tool/192004>\
**Category:** Questions\
**Tags:** mongodb\
**Created:** [September 22, 2025, 7:32am UTC](https://community.n8n.io/t/ai-agent-parsing-issue-with-mongodb-tool/192004 "2025-09-22T07:32:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Manasgupta840](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/manasgupta840/32/122169_2.png) [@Manasgupta840](https://community.n8n.io/u/Manasgupta840)\
**Post date:** [September 23, 2025, 4:54am UTC](https://community.n8n.io/t/ai-agent-parsing-issue-with-mongodb-tool/192004/6 "2025-09-23T04:54:46Z")

</div>

Finally I got the solution.  
The tool description should be

```auto

Insert an object in database. Send with the different json just with the values of the
{{ $fromAI('full_name', `Name of the customer`, 'string') }},
{{ $fromAI('contact', `Customer's contact`, 'string') }},
{{ $fromAI('description', `Appointment description`, 'string') }},
{{ $fromAI('start_appointment_time', `Start time of the appointment (ISO datetime)`, 'string') }},
{{ $fromAI('end_appointment_time', `End time of the appointment (ISO datetime)`, 'string') }}

```

and the Fields should be like exact key values: full\_name,contact,description,start\_appointment\_time,end\_appointment\_time

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/6/a/6a922f0ec6d7636fe8a7c134d7929b8b3ca326b6.png)

---

_[View the full topic](https://community.n8n.io/t/ai-agent-parsing-issue-with-mongodb-tool/192004)._
