Skip to main content
Glama

list_scans

Retrieve recent security scans, filtered by project or status, and return scan IDs, engines, statuses, and timestamps for review.

Instructions

List recent scans, optionally filtered by project and status. Returns scan IDs, status, engines, and timestamps.

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_scans"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return
offsetNoPagination offset
statusesNoFilter by scan statuses
projectIdNoFilter by project UUID (uses default if set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the returned fields (scan IDs, status, engines, timestamps), which is genuine added value. However it omits ordering guarantees (does "recent" mean newest-first?), pagination behavior despite limit/offset params, and any permission or scope requirements for reading scans.

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

Conciseness5/5

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

Two sentences, zero padding, with the scope and filter capability front-loaded before the return-value summary. Every clause carries information.

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 four-parameter, no-required-argument read tool with no output schema, the description covers both purpose and return shape. The remaining gaps (ordering, pagination semantics) are minor given the schema documents the paging parameters explicitly.

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 four parameters (limit, offset, statuses, projectId) are already documented with types, defaults, and bounds. The description only restates the project and status filters and says nothing about limit/offset or the status enum values, so it adds little beyond the schema baseline.

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 ("List recent scans") plus the filterable dimensions (project, status), which distinguishes it from get_scan (single scan) and trigger_scan_* (creates scans). It never names a sibling explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

"optionally filtered by project and status" implies the browsing use case, but there is no explicit when-to-use vs when-to-look-elsewhere guidance, and no mention of using get_scan once an ID is known or compare_scans for cross-scan analysis. Usage is implied, not prescribed.

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