store_chat_history

Store chat history in the database

Server Small Business MCP Server joe-spencer/small-business-mcp
Category Write
Risk class Medium
Parameters 00 required

What store_chat_history does on Small Business MCP Server

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

Why store_chat_history needs a policy

This tool writes chat history records to a database, which is a reversible data creation/modification operation. Misuse could allow an AI agent to store false or manipulated conversation records, polluting audit trails or misleading users, hence medium severity.

From the tool's definition 'Store chat history in the database' — creates/persists new records in a database

Questions about store_chat_history

What does the store_chat_history tool do? +

Store chat history in the database. It is categorised as a Write tool in the Small Business 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 store_chat_history? +

Register the Small Business MCP Server MCP server in PolicyLayer and add a rule for store_chat_history: 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 Small Business MCP Server. Nothing to install.

What risk level is store_chat_history? +

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

Can I rate-limit store_chat_history? +

Yes. Add a rate_limit block to the store_chat_history 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 store_chat_history completely? +

Set action: deny in the PolicyLayer policy for store_chat_history. 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 store_chat_history? +

store_chat_history is provided by the Small Business MCP Server MCP server (joe-spencer/small-business-mcp). 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.