Skip to main content
Glama

sync_file

Sync local files to Confluence pages by uploading content directly from your filesystem to specified URLs, maintaining exact file paths as provided.

Instructions

Sync a LOCAL file to a Confluence page. This tool reads the file directly from the filesystem.

⚠️ CRITICAL INSTRUCTIONS FOR AI:

  • file_path MUST be the EXACT path specified by the user

  • Do NOT infer or guess file path based on Confluence page title or URL content

  • If user says "sync readme.md to URL", find "readme.md" file, NOT files matching page title

  • If multiple files match, ask user to specify the exact path

  • This tool handles file reading internally - just pass the path

Examples:

  • User: "sync readme.md to https://..." → file_path: "/path/to/readme.md" (find readme.md)

  • User: "sync /docs/guide.md to https://..." → file_path: "/docs/guide.md" (exact path)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesExact local file path to sync. Use the path specified by user, NOT inferred from Confluence URL.
page_urlYesConfluence page URL to update
titleNoOverride page title (optional)

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/Gyeom/md2confluence-mcp'

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