Skip to main content
Glama

list_scans

Retrieve recent security scan results, filter by status or type, and paginate through records to monitor AI protection activity.

Instructions

List recent security scans with their results. Filter by status or type.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not meet it: it does not say what ordering "recent" means, how far back the list goes, whether results are summarized or full, or what permissions are needed. Worse, it advertises filtering "by status or type" when the schema exposes no such parameters — a description/schema inconsistency that could cause a failed or looping call.

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 with the resource and scope front-loaded and no padding. The only waste is the second sentence, which is brief but spends its words on filters the schema does not support.

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 two-parameter read tool with no output schema, the agent still needs to know what a "result" contains and how recency/paging behave, and the description covers neither. It does at least signal that results accompany each scan, which is useful orientation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for limit and offset, so the baseline would be 3, but the description actively misleads by claiming status and type filters that do not exist among the two parameters. An agent reading the prose would look for filter arguments that the schema rejects; this is worse than adding nothing.

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?

"List recent security scans with their results" states a specific verb (list) and resource (security scans) plus the recency scope, which distinguishes it from the single-item sibling get_scan. It stops short of explicitly naming that sibling, so the differentiation is inferable 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 Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer get_scan for a single scan, and no stated prerequisites or pagination strategy. The only hint is the word "recent", which implies browsing rather than targeted retrieval.

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