tool-set-enabled-state

Enable or disable MCP tools by name for AI agent availability.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill tool-set-enabled-state-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tool-set-enabled-state
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/tool-set-enabled-state
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill tool-set-enabled-state-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Managing which MCP tools are exposed to an AI agent requires manual configuration. This Skill lets you programmatically enable or disable specific tools by name, controlling exactly which capabilities the agent can access at any time. ## Core Features & Use Cases - Batch Tool Control: Enable or disable multiple MCP tools in a single call by providing an array of tool names with their desired states. - Per-Tool Result Reporting: Receive a success map showing whether each tool operation completed, failed, or matched an unknown or ambiguous name. - Optional Operation Logs: Include detailed logs in the result by setting the includeLogs flag for debugging. - Use Case: Before running an automated Unity workflow, disable all editor tools except the ones the agent needs, reducing noise and preventing unintended tool invocations. ## Quick Start Ask the AI to disable the MCP tool named 'gameobject-create' and enable 'scene-get-hierarchy' using the tool-set-enabled-state tool.

Frequently Asked Questions about tool-set-enabled-state

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable or disable MCP tools for an AI agent?▼

Call the tool-set-enabled-state tool with a tools array containing each tool's Name and an Enabled boolean. The operation returns a success map indicating whether each tool was updated, unknown, or ambiguous.

How to run the tool-set-enabled-state command from the CLI?▼

Run unity-mcp-cli run-tool tool-set-enabled-state with a JSON input containing the tools array. For complex input, save the JSON to a file and pass it with --input-file, or pipe it via stdin.

What happens if a tool name is unknown or ambiguous?▼

The result's Success dictionary marks that tool's value as false. The key preserves the original input name as provided, so you can identify which entries failed and correct the names.

Why is unity-mcp-cli not found when running the command?▼

The CLI is not installed globally. Install it with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. Refer to the unity-initial-setup skill for detailed installation steps.

Can I get logs for tool enable and disable operations?▼

Yes, set the includeLogs parameter to true in the input JSON. The result then includes a Logs array with entries containing depth, message, and severity type such as Info, Warning, or Error.