Skip to main content
Glama

confluence_add_comment

Add a comment to a Confluence page by providing the page ID and markdown content.

Instructions

Add a comment to a Confluence page.

Args: ctx: The FastMCP context. page_id: The ID of the page to add a comment to. content: The comment content in Markdown format.

Returns: JSON string representing the created comment.

Raises: ValueError: If in read-only mode or Confluence client is unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe comment content in Markdown format
page_idYesThe ID of the page to add a comment to

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the behavioral transparency burden. It discloses that it raises ValueError in read-only mode or when the client is unavailable, and states the return format. However, it does not elaborate on side effects or other failure conditions beyond these, so a 3.

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?

The description is compact and well-structured with clear sections for Args, Returns, and Raises. Each sentence adds value, and it is front-loaded with the purpose statement.

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?

Given the tool's simplicity (2 params), a full output schema, and the inclusion of error conditions, the description is sufficiently complete for an agent to invoke it correctly. It could mention page existence checks, but that's a minor gap.

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?

The input schema already provides full descriptions for page_id and content, with 100% coverage. The description repeats this information but adds no additional semantic details; the mention of ctx is an internal context parameter not part of the user-facing schema.

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?

The description opens with 'Add a comment to a Confluence page,' which is a specific verb+resource statement. It clearly distinguishes from sibling tools like jira_add_comment and confluence_add_label.

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?

The description provides clear context for when to use this tool: to add comments to Confluence pages. It does not explicitly name alternatives or exclusions, but the 'Confluence' qualifier differentiates it from Jira comment tools, giving a clear context without exclusions.

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

Install Server

Other Tools

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/SharkyND/mcp-atlassian'

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