Skip to main content
Glama
aaronsb

Confluence MCP Server

add_confluence_label

Add a label to a Confluence page to organize content and improve searchability. Labels must contain only letters, numbers, hyphens, and underscores.

Instructions

Add a label to a page. Labels help organize content and make it easier to find related pages through search_confluence_pages.

Label Format:

  • Must contain only letters, numbers, hyphens, and underscores

  • No spaces or special characters allowed

Error Handling:

  • Returns 400 for invalid label format

  • Returns 403 for insufficient permissions

  • Returns 404 if page not found

  • Returns 409 if label already exists on the page

Response includes:

  • Success status

  • Label details (id, name, prefix, creation date)

  • Operation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesID of the page to add the label to
labelYesLabel to add (letters, numbers, hyphens, and underscores only)
Behavior5/5

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

No annotations provided, so description fully covers behavioral aspects: error codes (400,403,404,409) and response structure. This is comprehensive for a tool of this complexity.

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

Conciseness4/5

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

Description is organized into clear sections (purpose, format, errors, response) and is fairly concise, though some repetition of schema details could be trimmed.

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

Completeness5/5

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

Given low complexity (2 params, no output schema), description covers purpose, error handling, response, and even connects to sibling tool search_confluence_pages, making it sufficiently complete.

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 coverage is 100% with both parameters described in the schema. The description repeats label format constraints (letters, numbers, hyphens, underscores) which are already in the schema, adding no new semantic value.

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?

Description clearly states 'Add a label to a page', specifying verb and resource. Among siblings like remove_confluence_label and get_confluence_labels, it is distinct.

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?

Description explains that labels help organize content and aid search via search_confluence_pages, implying when to use. However, it does not explicitly state when not to use or directly name alternatives.

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/aaronsb/confluence-cloud-mcp'

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