fakestore_add_cart

Add a new cart (simulation - does not persist)

Server Fake Store API MCP Server op-enny/mcp-server-fakestore
Category Write
Risk class Medium
Parameters 00 required

What fakestore_add_cart does on Fake Store API MCP Server

AI agents use fakestore_add_cart to create or update resources in Fake Store API MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Fake Store API MCP Server environment.

Why fakestore_add_cart needs a policy

This tool creates new data (a cart) in a reversible manner. The simulation nature and lack of persistence means there are no lasting side effects, making it a Write operation rather than Execute. Severity is low because it only creates test data in a non-persistent environment with minimal blast radius.

From the tool's definition Tool name contains 'add' and description states 'Add a new cart', indicating creation of new data. Description explicitly notes '(simulation - does not persist)', meaning changes are temporary and reversible.

Questions about fakestore_add_cart

What does the fakestore_add_cart tool do? +

Add a new cart (simulation - does not persist). It is categorised as a Write tool in the Fake Store API MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on fakestore_add_cart? +

Register the Fake Store API MCP Server MCP server in PolicyLayer and add a rule for fakestore_add_cart: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Fake Store API MCP Server. Nothing to install.

What risk level is fakestore_add_cart? +

fakestore_add_cart is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit fakestore_add_cart? +

Yes. Add a rate_limit block to the fakestore_add_cart rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block fakestore_add_cart completely? +

Set action: deny in the PolicyLayer policy for fakestore_add_cart. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides fakestore_add_cart? +

fakestore_add_cart is provided by the Fake Store API MCP Server MCP server (op-enny/mcp-server-fakestore). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.