Skip to main content
Glama

export_to_confluence

Sync project concept maps to Confluence as product-readable wiki pages: an index, feature pages, and a changelog. Requires prior setup.

Instructions

Sync the project's concept map to Confluence as product-readable wiki pages: an index page, one page per feature (PM-language descriptions, no file paths), and a changelog page. Mason replaces managed page bodies; manual edits to those bodies are overwritten. Requires mason_set_confluence to have been called first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirYesAbsolute path to the project root directory
spaceKeyNoOverride the configured space key
parentPageIdNoOverride the configured parent page ID
indexPageTitleNoTitle of the index page (default: 'Mason — System Map')
featurePagePrefixNoPrefix for each feature page title (default: 'Feature: ')
changelogPageTitleNoTitle of the changelog page (default: 'Mason — Changelog')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it delivers the most important trait: managed page bodies are replaced and manual edits are overwritten. That destructive/overwrite semantics plus the config prerequisite is exactly the kind of context an agent needs. It stops short of auth/permission or failure behavior, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with no waste: artifact list first, overwrite semantics second, precondition last. Everything is front-loaded and each sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-param sync tool with no output schema, the description covers artifacts, destruction semantics, and the required prior call. It leaves out what happens on partial failure or how conflicts are handled, but nothing essential to correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all six parameters including defaults for indexPageTitle, featurePagePrefix, and changelogPageTitle. The description mentions the page types those parameters map to but adds no syntax or format detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (sync/export) and resource (concept map to Confluence) and enumerates the exact artifacts produced: index page, one page per feature, changelog page. This distinguishes it cleanly from siblings like mason_set_confluence (which configures rather than exports).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear precondition ('Requires `mason_set_confluence` to have been called first') that tells the agent the ordering constraint. It does not state when NOT to use it or name an alternative target, but the setup prerequisite is explicit and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.