Skip to main content
Glama

search_assets

Search Lansweeper assets by name, IP address, MAC address, or operating system to find and filter devices by type.

Instructions

Search for assets across Lansweeper by name, IP address, MAC address, or operating system.

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": "search_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
macNoSearch by MAC address (e.g., 00:11:22:33:44:55)
nameNoSearch by asset name (partial match)
limitNoMaximum number of results to return
os_nameNoFilter by operating system name (e.g., Windows 10, Ubuntu)
site_idNoSite ID to query (overrides LANSWEEPER_SITE_ID environment variable)
asset_typeNoFilter by asset type (e.g., Windows, Linux, VMware)
ip_addressNoSearch by IP address (exact or partial match)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and it discloses almost nothing: no statement on how multiple supplied filters combine (AND vs OR), no note that matching is partial for name/IP, no mention of the default 50-result cap or truncation, and no indication of ordering. Only the bare intent is conveyed.

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?

A single front-loaded sentence with no filler or redundant phrasing. It is efficient, though the terseness leaves the substantive gaps noted elsewhere rather than being padded with low-value text.

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

Completeness2/5

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

For a seven-parameter search tool with zero annotation coverage and no output schema, the definition is thin: result semantics, filter combination, and result-set limits are all unstated. The schema covers individual parameters, but the description does not fill the behavioral void that annotations would normally occupy.

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%, so all seven parameters are already documented in the schema with examples, and the description merely repeats four of those field names. It adds no meaning about combination logic, defaults, or the site_id override behavior, so the baseline of 3 applies.

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?

States a specific verb and resource ("Search for assets") and enumerates the searchable dimensions (name, IP, MAC, OS), so the agent knows exactly what the tool returns. It does not differentiate itself from sibling tools such as list_assets or get_recently_scanned_assets, so an agent cannot tell from the description alone which one to pick.

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?

The field list implies you call this when you hold an identifier, but there is no explicit when-to-use statement and no mention of when not to use it versus list_assets or get_recently_scanned_assets. Guidance is entirely inferred by the reader.

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