Skip to main content
Glama

list_users

Retrieve user accounts discovered across scanned Lansweeper assets, with optional username and domain filters, to view usernames, domains, associated assets, and paginated results.

Instructions

List user accounts discovered by Lansweeper across scanned assets. Returns user names, domains, and associated assets.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (1-based)
limitNoNumber of results per page
domainNoFilter by domain name
site_idNoSite ID to query (overrides LANSWEEPER_SITE_ID environment variable)
usernameNoFilter by username (partial match)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose the returned fields (user names, domains, associated assets) and "List" implies a non-mutating read, but it says nothing about permissions, result scale, or how the page/limit paging behaves in practice.

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?

Two short sentences, front-loaded with the action and followed by the return shape; nothing is padded. The second sentence earns its place because no output schema exists.

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 read-only list tool with five optional params this is mostly adequate, and the return-value sentence compensates for the absent output schema. It stops short of explaining filtering behavior or result-size expectations, leaving small but real gaps.

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%, including the partial-match semantics for username and the env-var override for site_id, so the schema already does the work. The description adds no filtering or pagination meaning beyond it, making the baseline 3 appropriate.

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 gives a specific verb and resource ("List user accounts") plus scope ("discovered by Lansweeper across scanned assets"), so an agent knows exactly what it returns. It does not, however, distinguish itself from the sibling get_user, which likely returns a single account.

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 or when-not-to-use guidance, and no reference to get_user or search_assets as alternatives. The agent must infer from the name that this is the enumeration path versus the single-lookup path.

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