Skip to main content
Glama

disable_doc

Prevent automated crawling of a specific document by specifying its name. Use this feature to control document accessibility in the open-docs-mcp server.

Instructions

Disable crawling for a specific doc

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the doc to disable

Implementation Reference

  • Handler for the 'disable_doc' tool. Sets the specified doc to disabled in docConfig and saves the configuration.
    case "disable_doc": { const name = String(request.params.arguments?.name); docConfig[name] = false; await saveDocConfig(); return { content: [{ type: "text", text: `Disabled doc ${name}` }] }; }
  • src/index.ts:421-434 (registration)
    Registers the 'disable_doc' tool in the ListToolsRequestSchema handler, including its name, description, and input schema.
    { name: "disable_doc", description: "Disable crawling for a specific doc", inputSchema: { type: "object", properties: { name: { type: "string", description: "Name of the doc to disable" } }, required: ["name"] } },

Other Tools

Related 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/askme765cs/open-docs-mcp'

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