Skip to main content
Glama

Search User

confluence_search_user
Read-only

Searches Confluence users with a CQL query, returning matching user profiles so you can identify or reference the right person.

Instructions

Search Confluence users using CQL.

Args: ctx: The FastMCP context. query: Search query - a CQL query string for user search. limit: Maximum number of results (1-50).

Returns: JSON string representing a list of simplified Confluence user search result objects.

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": {
      "query": "<query>"
    },
    "name": "confluence_search_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (1-50)
queryYesSearch query - a CQL query string for user search. Examples of CQL: - Basic user lookup by full name: 'user.fullname ~ "First Last"' Note: Special identifiers need proper quoting in CQL: personal space keys (e.g., "~username"), reserved words, numeric IDs, and identifiers with special characters.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint=true annotation already covers the safety profile, so the description's obligation is lower. It adds only that results are 'simplified' user objects, without saying what fields are trimmed, whether results are paginated, or whether the 1-50 limit is enforced server-side.

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

Conciseness3/5

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

The purpose sentence is front-loaded and clear, but the docstring scaffolding leaks through: 'ctx: The FastMCP context' documents a parameter that does not exist in the schema, and the Returns block duplicates an existing output schema. Those lines do not earn their 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 two-parameter read-only search with full schema coverage and a declared output schema, the description covers purpose and mechanism adequately. The missing piece is routing guidance versus confluence_search, but nothing required to invoke the tool correctly is absent.

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% and the description's Args block is essentially a restatement of the schema text, adding no new meaning. Baseline 3 applies since the schema already carries the CQL example and the limit bounds.

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 first sentence gives a specific verb and resource ('Search Confluence users') plus the mechanism ('using CQL'), which distinguishes it from the content-oriented confluence_search sibling. It stops short of explicitly naming that sibling or stating the boundary, so an agent must infer it.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance at all. The only implicit signal is 'using CQL', which hints that a CQL string is required but does not explain when to pick this over confluence_search or how to phrase a user-targeted query beyond the schema's single example.

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