insert-json

Purpose: Insert one JSON object or an array of JSON objects into a RawTree table. RawTree auto-creates the table on first insert. NOT for: Loading data from a public URL (use insert-from-url). Not for transformed URL ingest; transforms only apply to JSON request bodies. Returns: Insert confirmati...

Server RawTree MCP Server rawtreedb/rawtree-mcp
Category Write
Risk class Medium
Parameters 00 required

What insert-json does on RawTree MCP Server

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

Why insert-json needs a policy

This tool creates or modifies data (inserts JSON objects into tables) but does so reversibly—the data can be queried, updated, or deleted later. It does not execute arbitrary code, delete data permanently, move money, or trigger external side effects beyond the database itself. It is purely a Write operation: data ingestion that establishes new tables and adds records.

From the tool's definition Tool description states it 'Insert[s] one JSON object or an array of JSON objects into a RawTree table' and 'RawTree auto-creates the table on first insert.' The verb 'insert' and the capability to create/populate tables constitute data modification.

Questions about insert-json

What does the insert-json tool do? +

Purpose: Insert one JSON object or an array of JSON objects into a RawTree table. RawTree auto-creates the table on first insert. NOT for: Loading data from a public URL (use insert-from-url). Not for transformed URL ingest; transforms only apply to JSON request bodies. Returns: Insert confirmation, usually {. It is categorised as a Write tool in the RawTree 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 insert-json? +

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

What risk level is insert-json? +

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

Can I rate-limit insert-json? +

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

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

insert-json is provided by the RawTree MCP Server MCP server (rawtreedb/rawtree-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.