format_mcp_request

Format a complete MCP request with proper JSON escaping

SERVERCocos SOURCEcaravanglory/cocos-mcp-server
Low RISK CLASS
Category Other
Parameters 00 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/caravanglory-cocos-mcp-server/format-mcp-request.md

What format_mcp_request does on Cocos

AI agents call format_mcp_request as a supporting operation in Cocos workflows.

Why format_mcp_request is rated Low

This tool appears to format/prepare an MCP request with JSON escaping - it's a utility/helper function that structures data rather than reading, writing, executing, or destructively modifying anything. It doesn't retrieve data, create/modify persistent state, run code, delete data, or move money. It's purely a formatting/serialization utility.

From the tool's definition Format a complete MCP request with proper JSON escaping

Questions about format_mcp_request

What does the format_mcp_request tool do? +

Format a complete MCP request with proper JSON escaping. It is categorised as a Other tool in the Cocos MCP Server, which means it performs auxiliary operations.

How do I enforce a policy on format_mcp_request? +

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

What risk level is format_mcp_request? +

format_mcp_request is a Other tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit format_mcp_request? +

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

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

format_mcp_request is provided by the Cocos MCP server (caravanglory/cocos-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Cocos, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Cocos's. Pull the full record:

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.