Skip to main content
Glama
zk-armor
by zk-armor

convert_sphinx_directory

Convert Sphinx documentation directories to Markdown optimized for LLMs, making technical content readily accessible to language models.

Instructions

Convert an entire Sphinx documentation directory to LLM-optimized Markdown

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNo
outputPathYesOutput directory for converted Markdown files
sourcePathYesPath to the Sphinx documentation directory
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only states 'Convert' without explaining whether the operation is read-only, whether it modifies the source files, what happens to existing output files, or how chunking and optimization affect the process. The lack of any side-effect or safety information leaves the agent under-informed.

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 a single, directly stated sentence. It front-loads the core action, resource, and result with no filler or redundant information. Every word contributes value, making it highly concise and well-structured.

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

Completeness2/5

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

Given the tool's complexity (directory processing, multiple options, no output schema, no annotations), the description is too brief. It does not mention what the output looks like, how the conversion works, whether it's safe, or what 'LLM-optimized' entails. The agent would need to rely solely on the schema, which is insufficient for understanding the tool's full behavior and implications.

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?

Schema description coverage is 67%, with sourcePath and outputPath described in the schema. The description adds no additional parameter semantics, and the 'options' parameter lacks a top-level schema description. Since coverage is in the moderate range, the description does not need to fully compensate but could have added clarity about options like recursive or preserveStructure, which it fails to do.

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 'Convert an entire Sphinx documentation directory to LLM-optimized Markdown' clearly specifies the verb (Convert), the resource (Sphinx documentation directory), and the output (LLM-optimized Markdown). It distinguishes from the sibling tool 'convert_sphinx_file' by explicitly targeting directories.

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

Usage Guidelines3/5

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

The description implies usage for whole directories, but it does not explicitly state when to use this tool versus 'convert_sphinx_file' or 'analyze_sphinx_structure'. No exclusions or alternative recommendations are provided. The usage context is clear from 'entire directory' but lacks explicit guidance.

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/zk-armor/mcp-sphinx-docs'

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