Skip to main content
Glama

get_recently_scanned_assets

Retrieve recently scanned or updated Lansweeper assets, optionally by site, to review recent scan activity and asset changes.

Instructions

Get assets that were most recently scanned or updated by Lansweeper.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of recently scanned assets to return
site_idNoSite ID to query (overrides LANSWEEPER_SITE_ID environment variable)

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 are provided, so the description carries the full behavioral burden and does very little with it. It implies a read operation via 'Get' but does not disclose ordering/sort semantics, whether 'scanned' and 'updated' are the same underlying timestamp, any time-window boundary, or pagination behavior.

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 zero filler, appropriately sized for a simple read tool. It is terse rather than padded, though that terseness is where the specification gaps arise.

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?

The tool is low complexity with only two optional, fully documented parameters and no output schema, so the description does not need to explain return values. Still, it omits the one thing specific to this tool — what 'most recently scanned or updated' is measured against — leaving the recency semantics underspecified.

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 both parameters (limit and site_id, including the environment-variable override) are already documented in the schema. The description adds no meaning beyond that, 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 (get assets) qualified by recency ('most recently scanned or updated by Lansweeper'), which clearly separates it conceptually from a general listing. However, no sibling is named, so the agent gets no help distinguishing this from list_assets or search_assets, and 'scanned or updated' leaves the actual recency field ambiguous.

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 explicit statement of when to use this tool, when not to, or which sibling to choose for the same underlying asset data. The recency framing implies a 'what changed recently' use case, but that inference is left entirely to the agent.

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