Skip to main content
Glama

add_confluence_labels

Add global labels to an existing Confluence page while keeping its current labels. Use it to categorize or tag pages without overwriting existing labels.

Instructions

Add global labels to an existing page and keep its other labels.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_id": "<page_id>",
      "labels": "<labels>"
    },
    "name": "add_confluence_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoOptional target Atlassian site ID, name, or URL.
labelsYes
page_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one important behavioral trait — existing labels are preserved, not replaced — which is real value beyond the name. It says nothing about permissions required, what happens when a label already exists on the page (duplicate or no-op), whether labels are space-scoped or global-only, or what the response returns.

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?

A single short sentence with no filler, and the most decision-relevant clause (preserving other labels) is included rather than buried. Nothing is redundant or wasted.

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

Completeness3/5

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

For a simple three-parameter tool with no annotations and no output schema, the definition covers what the tool does and its additive behavior, which is the core need. It is still thin on failure modes and label-format expectations that an agent would want before calling it against a live page.

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

Parameters2/5

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

Schema description coverage is only 33% (only 'site' is documented in the schema), so the description needs to compensate and largely does not. 'Existing page' hints that page_id must reference a pre-existing page, and 'global labels' hints at label scope, but neither parameter's format (case sensitivity, spaces, ID format) is clarified, and the minItems=1 constraint is left to the schema.

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

Purpose4/5

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

The description names a specific verb and resource ('Add global labels to an existing page') and adds an additive-scope qualifier ('keep its other labels'), which lets an agent distinguish it from a replace-style update or from remove_confluence_label. It stops short of naming any sibling explicitly, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is only implied: 'keep its other labels' suggests this is the right choice when you want to append rather than overwrite labels. There is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites (page must exist, which is implied by 'existing page'), and no pointer to an alternative for replacing labels.

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