Skip to main content
Glama

scan_confluence

Detect leaked secrets (API keys, tokens, passwords) in Confluence pages and comments. Returns redacted findings without modifying Confluence.

Instructions

Read Confluence pages and comments to detect leaked secrets (API keys, tokens, passwords). Never modifies Confluence — no pages or comments are written. Auth: requires CONFLUENCE_TOKEN (falls back to JIRA_TOKEN) and CONFLUENCE_EMAIL (falls back to JIRA_EMAIL) env vars, or pass api_key/email directly. Side effects: a redacted scan report is uploaded to the n0s1 backend; set allow_secret_upload=True to also upload AES-encrypted secret values for AI validation. Returns redacted findings — raw secret values are never included in the output. Subject to Confluence API rate limits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYesConfluence server URL e.g. https://company.atlassian.net
emailYesConfluence user email (or set CONFLUENCE_EMAIL / JIRA_EMAIL env var)
api_keyYesConfluence API token (or set CONFLUENCE_TOKEN / JIRA_TOKEN env var)
scopeNoCQL query e.g. cql:space=SEC and type=page
report_formatNoOutput report formatn0s1
show_matched_secret_on_logsNoInclude redacted secret snippets in logs (default: false)
ai_analysisNoQueue async AI credential validation after the scan (requires n0s1 Pro)
n0s1_api_keyNon0s1 API key; overrides the N0S1_TOKEN env var
allow_secret_uploadNoUpload AES-encrypted secret values to the n0s1 backend for AI validation (default: false)
report_uuidNoUUID to assign to the scan report; overrides the auto-generated one

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_uuidYes
statusYes
summaryYes
findingsNo
next_cursorNo
usageYes
ai_analysis_statusNo
Behavior5/5

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

The description discloses all behavioral traits: it explicitly states the tool never modifies Confluence, details authentication requirements, describes side effects (uploading redacted/encrypted data to backend), mentions rate limits, and explains data handling (redacted output, no raw secrets). This goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) and adds significant value.

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?

The description is a single, well-organized paragraph that front-loads the purpose and safety, then covers auth, side effects, and optional behaviors. It is concise but includes necessary details; a minor improvement could be breaking it into bullet points for readability.

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 the tool's complexity (10 parameters, external APIs, side effects), the description covers all essential context: authentication, safety (no modification), side effects (backend upload), data protection (redaction), rate limits, and optional features. The presence of an output schema means return values don't need to be detailed in the description.

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

Parameters4/5

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

Since schema coverage is 100%, each parameter already has a description. The tool description adds extra meaning by explaining fallback logic for auth parameters and grouping related options (e.g., allow_secret_upload, ai_analysis). This provides context beyond the schema, warranting a score above the baseline of 3.

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 clearly states the tool's purpose: 'Read Confluence pages and comments to detect leaked secrets (API keys, tokens, passwords).' It uses a specific verb (read), target resource (Confluence pages/comments), and goal (detect secrets), differentiating it from other scan_ tools by naming Confluence.

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 usage context: it specifies authentication methods (env vars or direct params), declares it never modifies Confluence, and mentions side effects (upload to backend). However, it does not explicitly state when to use this tool over alternative scanning tools, nor does it provide 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/spark1security/n0s1-mcp'

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