Skip to main content
Glama

Filesystem MCP Server

by rawr-ai

xml_structure

Analyze XML file structure quickly by extracting element counts, attribute usage, namespaces, and hierarchy details without full file processing. Configure depth and byte limits for efficient handling of large files.

Instructions

Analyze XML file structure without reading the entire file. Returns statistical information about element counts, attribute usage, namespaces, and hierarchical structure. Useful for understanding the structure of large XML files before performing detailed queries. Requires maxBytes (default 10KB) and maxDepth (default 2) parameters. The path must be within allowed directories.

Input Schema

NameRequiredDescriptionDefault
includeAttributesNoWhether to include attribute information
maxBytesYesMaximum bytes to read from the file. Must be a positive integer. Handler default: 10KB.
maxDepthYesHow deep to analyze the hierarchy. Must be a positive integer. Handler default: 2.
pathYesPath to the XML file to analyze

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "includeAttributes": { "default": true, "description": "Whether to include attribute information", "type": "boolean" }, "maxBytes": { "description": "Maximum bytes to read from the file. Must be a positive integer. Handler default: 10KB.", "exclusiveMinimum": 0, "type": "integer" }, "maxDepth": { "description": "How deep to analyze the hierarchy. Must be a positive integer. Handler default: 2.", "exclusiveMinimum": 0, "type": "integer" }, "path": { "description": "Path to the XML file to analyze", "type": "string" } }, "required": [ "path", "maxDepth", "maxBytes" ], "type": "object" }

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/rawr-ai/mcp-filesystem'

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