Skip to main content
Glama

MCP JSON Maker

by zb2947244682

item_operations

Perform CRUD operations on JSON data and templates, including creation, retrieval, editing, deletion, and statistical analysis. Supports advanced querying, node-level editing, and tag-based filtering for efficient JSON management.

Instructions

通用工具,用于创建、获取、列表、编辑、删除JSON或模板,以及获取统计信息。支持完整的CRUD操作和高级查询功能。

Input Schema

NameRequiredDescriptionDefault
actionYes操作类型:create(创建)、get(获取)、list(列表)、edit(编辑)、delete(删除)、stats(统计)
categoryNo分类:模板的分类,如'user'、'product'、'config'等
contentNo内容:JSON字符串,必须是有效的JSON格式。示例:{"key":"value"}
descriptionNo描述:项目的详细说明,帮助理解项目用途
filter_tagsNo标签筛选:只显示包含指定标签的JSON,如['user', 'active']
filter_typeNo类型筛选:all(全部)、generated(批量生成)、manual(手动创建)
idNo项目ID:用于get、edit、delete操作,必须是已存在的ID
indexNo数组索引:add/remove操作时的位置索引,从0开始。不指定则添加到末尾或删除第一个
item_typeNo项目类型:json(JSON数据) 或 template(模板),除stats外都需要指定
limitNo列表限制:返回的最大项目数量,默认20,最大100
nameNo名称:创建时的项目名称,建议使用有意义的描述性名称
operationNo编辑操作:set(设置值)、add(添加元素)、remove(删除)、update(更新对象)
pathNo节点路径:编辑JSON时的路径,支持点号分隔。示例:'users.0.name'、'config.database.host'
sort_byNo排序方式:createdAt(创建时间)、updatedAt(更新时间)、name(名称)、size(大小)
tagsNo标签:JSON项目的分类标签,如['user', 'config', 'test']
valueNo新值:要设置、添加或更新的值。可以是任何类型:字符串、数字、数组、对象等
variablesNo变量:模板中的变量名列表,如['name', 'age', 'email']

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "action": { "description": "操作类型:create(创建)、get(获取)、list(列表)、edit(编辑)、delete(删除)、stats(统计)", "enum": [ "create", "get", "list", "edit", "delete", "stats" ], "type": "string" }, "category": { "description": "分类:模板的分类,如'user'、'product'、'config'等", "type": "string" }, "content": { "description": "内容:JSON字符串,必须是有效的JSON格式。示例:{\"key\":\"value\"}", "type": "string" }, "description": { "description": "描述:项目的详细说明,帮助理解项目用途", "type": "string" }, "filter_tags": { "description": "标签筛选:只显示包含指定标签的JSON,如['user', 'active']", "items": { "type": "string" }, "type": "array" }, "filter_type": { "description": "类型筛选:all(全部)、generated(批量生成)、manual(手动创建)", "enum": [ "all", "generated", "manual" ], "type": "string" }, "id": { "description": "项目ID:用于get、edit、delete操作,必须是已存在的ID", "type": "string" }, "index": { "description": "数组索引:add/remove操作时的位置索引,从0开始。不指定则添加到末尾或删除第一个", "type": "number" }, "item_type": { "description": "项目类型:json(JSON数据) 或 template(模板),除stats外都需要指定", "enum": [ "json", "template" ], "type": "string" }, "limit": { "description": "列表限制:返回的最大项目数量,默认20,最大100", "type": "number" }, "name": { "description": "名称:创建时的项目名称,建议使用有意义的描述性名称", "type": "string" }, "operation": { "description": "编辑操作:set(设置值)、add(添加元素)、remove(删除)、update(更新对象)", "enum": [ "set", "add", "remove", "update" ], "type": "string" }, "path": { "description": "节点路径:编辑JSON时的路径,支持点号分隔。示例:'users.0.name'、'config.database.host'", "type": "string" }, "sort_by": { "description": "排序方式:createdAt(创建时间)、updatedAt(更新时间)、name(名称)、size(大小)", "enum": [ "createdAt", "updatedAt", "name", "size" ], "type": "string" }, "tags": { "description": "标签:JSON项目的分类标签,如['user', 'config', 'test']", "items": { "type": "string" }, "type": "array" }, "value": { "description": "新值:要设置、添加或更新的值。可以是任何类型:字符串、数字、数组、对象等" }, "variables": { "description": "变量:模板中的变量名列表,如['name', 'age', 'email']", "items": { "type": "string" }, "type": "array" } }, "required": [ "action" ], "type": "object" }

Other Tools from MCP JSON Maker

Related Tools

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/zb2947244682/mcp-json-maker'

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