SystemPrompt MCP Server
by Ejb503
Verified
- build
- schemas
export const toolSchemas = {
list_spaces: {
description: "List all spaces in Confluence",
inputSchema: {
type: "object",
properties: {
limit: {
type: "number",
description: "Maximum number of spaces to return (default: 25)",
},
start: {
type: "number",
description: "Starting index for pagination (default: 0)",
},
},
},
},
get_space: {
description: "Get details about a specific space",
inputSchema: {
type: "object",
properties: {
spaceId: {
type: "string",
description: "ID of the space to retrieve",
},
},
required: ["spaceId"],
},
},
list_pages: {
description: "List pages in a space",
inputSchema: {
type: "object",
properties: {
spaceId: {
type: "string",
description: "ID of the space to list pages from",
},
limit: {
type: "number",
description: "Maximum number of pages to return (default: 25)",
},
start: {
type: "number",
description: "Starting index for pagination (default: 0)",
},
},
required: ["spaceId"],
},
},
get_page: {
description: "Get a specific page with its content",
inputSchema: {
type: "object",
properties: {
pageId: {
type: "string",
description: "ID of the page to retrieve",
},
},
required: ["pageId"],
},
},
create_page: {
description: "Create a new page in a space",
inputSchema: {
type: "object",
properties: {
spaceId: {
type: "string",
description: "ID of the space to create the page in",
},
title: {
type: "string",
description: "Title of the page",
},
content: {
type: "string",
description: "Content of the page in Confluence storage format",
},
parentId: {
type: "string",
description: "ID of the parent page (optional)",
},
},
required: ["spaceId", "title", "content"],
},
},
update_page: {
description: "Update an existing page",
inputSchema: {
type: "object",
properties: {
pageId: {
type: "string",
description: "ID of the page to update",
},
title: {
type: "string",
description: "New title of the page",
},
content: {
type: "string",
description: "New content in Confluence storage format",
},
version: {
type: "number",
description: "Current version number of the page",
},
},
required: ["pageId", "title", "content", "version"],
},
},
search_content: {
description: "Search Confluence content using CQL",
inputSchema: {
type: "object",
properties: {
query: {
type: "string",
description: "CQL query string",
},
limit: {
type: "number",
description: "Maximum number of results to return (default: 25)",
},
start: {
type: "number",
description: "Starting index for pagination (default: 0)",
},
},
required: ["query"],
},
},
get_labels: {
description: "Get labels for a page",
inputSchema: {
type: "object",
properties: {
pageId: {
type: "string",
description: "ID of the page",
},
},
required: ["pageId"],
},
},
add_label: {
description: "Add a label to a page",
inputSchema: {
type: "object",
properties: {
pageId: {
type: "string",
description: "ID of the page",
},
label: {
type: "string",
description: "Label to add",
},
},
required: ["pageId", "label"],
},
},
remove_label: {
description: "Remove a label from a page",
inputSchema: {
type: "object",
properties: {
pageId: {
type: "string",
description: "ID of the page",
},
label: {
type: "string",
description: "Label to remove",
},
},
required: ["pageId", "label"],
},
},
};