Skip to main content
Glama

toggle_builtin_tools

Control Claude Code's built-in WebSearch and WebFetch tools: use 'on' to block them, 'off' to restore, or 'status' to check the current state.

Instructions

Toggle Claude Code's built-in WebSearch and WebFetch tools on/off.

**Key Features:**
    - **Tool Control:** Enable or disable Claude Code's native web tools.
    - **Project Scope:** Changes apply to current project's .claude/settings.json.
    - **Status Check:** Query current state without making changes.

**Edge Cases & Best Practices:**
    - Use "on" to block built-in tools when preferring this MCP server's implementation.
    - Use "off" to restore Claude Code's native tools.
    - Use "status" to check current configuration without modification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoAction to perform: 'on' (block built-in), 'off' (allow built-in), or 'status' (check current state).status
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the transparency burden. It discloses that changes apply to the project's .claude/settings.json, that 'status' is non-mutating, and precisely defines the counterintuitive 'on' meaning (block) versus 'off' (allow). While it doesn't mention persistence across sessions or the format of status output, these are minor gaps for a simple toggle tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear opening line followed by 'Key Features' and 'Edge Cases' sections. Every sentence adds value: the action semantics, project scope, status check, and the important clarification that 'on' blocks. It is front-loaded with the core purpose and uses bullets for readability without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a single optional parameter, no output schema, and no annotations, the description covers all necessary aspects: functionality, side effects, usage guidance, and edge cases. It even explains the surprising 'on' behavior and how to inspect current state. Nothing essential is missing for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema describes the single 'action' parameter with 100% coverage, including its default and meaning. The description adds contextual guidance on when to use each enum value, but this is practical advice rather than new semantic meaning. Given full schema coverage, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool toggles Claude Code's built-in WebSearch and WebFetch tools, a specific verb+resource. It distinguishes itself from sibling tools like web_search and web_fetch by focusing on enabling/disabling built-in capabilities rather than performing the searches/fetches themselves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Edge Cases & Best Practices' section explicitly explains when to use each action value ('on' to block when preferring MCP implementation, 'off' to restore native tools, 'status' to check) and clarifies the non-obvious semantics. This leaves no ambiguity about when or how to employ the tool versus alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhehaosun717/sunami-grok-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server