Agent using MCP to data store

hi i’m using AI Agent (make) and i want the agent to update a row in the data store called UserAndSessions.

i’ve added MCP and selected data store

when the scenario tries to update a record its look like it has an access denied

what i need to do ? how to configure ?

Hi @we_doc,

Why have you added the data store as MCP in the Agent? I would advice you to add it as a tool, either by creating a scenario that can access the records in the data store or as a module.

Cheers,
Henk

1 Like

Hi, because I want the agent to decide by itself which api to call

An API? Or the data store?

The AI agent will automatically use the tool that best fits your request, so you don’t have to manage it yourself.

Cheers,
Henk

Hi

Api I ment the data store functionality add, modify delete etc.

adding it as a tool, how to do it ?

The best way is by utilizing tools. Tool are modules and scenarios your agent uses to make decisions and complete tasks across all workflows.

When an agent processes requests, it uses tool names and descriptions to choose the right tool for the task. When using scenarios as tools, it processes scenario inputs and outputs names and descriptions to choose the right data.