Skip to main content
Glama

data_schema

Validate, manage, and associate schemas for JSON, YAML, and TOML files to ensure data integrity and consistency across configurations.

Instructions

Unified schema operations tool.

Actions:

  • validate: Validate file syntax and optionally against schema

  • scan: Recursively search for schema directories

  • add_dir: Add custom schema directory

  • add_catalog: Add custom schema catalog

  • associate: Bind file to schema URL or name

  • disassociate: Remove file-to-schema association

  • list: Show current schema configuration

Examples:

  • action="validate", file_path="config.json"

  • action="associate", file_path=".gitlab-ci.yml", schema_name="gitlab-ci"

  • action="disassociate", file_path=".gitlab-ci.yml"

  • action="list"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: validate, scan, add_dir, add_catalog, associate, disassociate, or list
file_pathNoPath to file (for validate/associate/disassociate actions)
schema_pathNoPath to schema file (for validate action)
schema_urlNoSchema URL (for associate action)
schema_nameNoSchema name from catalog (for associate action)
search_pathsNoPaths to scan (for scan action)
pathNoDirectory path (for add_dir action)
nameNoCatalog name (for add_catalog action)
uriNoCatalog URI (for add_catalog action)
max_depthNoMax search depth (for scan action)

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/bitflight-devops/mcp-json-yaml-toml'

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