Skip to main content
Glama

find_orphaned_sections

Identify sections lacking incoming links in markdown manuscripts to maintain document connectivity and improve navigation.

Instructions

Find sections with no incoming links

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathNoPath to manuscript directory (defaults to current directory)
scopeNoFile scope pattern

Implementation Reference

  • The primary handler function executing the tool logic. It calls checkLinks on WritersAid and returns a structured response identifying orphaned sections (currently placeholder).
    private async findOrphanedSections(_args: Record<string, unknown>) { await this.writersAid.checkLinks({}); return { orphanedSections: [], message: "Analysis complete - check links for orphaned content", }; }
  • The input schema and metadata definition for the find_orphaned_sections tool.
    { name: "find_orphaned_sections", description: "Find sections with no incoming links", inputSchema: { type: "object", properties: { project_path: { type: "string", description: "Path to manuscript directory (defaults to current directory)" }, scope: { type: "string", description: "File scope pattern" }, }, }, },
  • Registration of the tool handler within the central handleTool switch statement.
    case "find_orphaned_sections": return this.findOrphanedSections(args);

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/xiaolai/claude-writers-aid-mcp'

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