Skip to main content
Glama

list_scans

Retrieve recent JavaScript security scans with summary counts to review findings and track scan activity.

Instructions

Recent scans with their summary counts.

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
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 disclosure burden and mostly drops it. It does not state ordering, the recency window, whether in-progress or failed scans are included, permission requirements, or how counts are computed — all of which matter for a read tool with no structured safety metadata.

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

Conciseness3/5

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

It is one short sentence with no filler, so nothing is wasted, but it is a noun phrase rather than a directive statement and is under-specified rather than concise. Front-loading is moot when there is only one clause.

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 simple single-parameter read tool with no annotations and no output schema, the description should still convey ordering and the meaning of 'recent'. Nothing about return shape, counts semantics, or truncation behavior is covered, leaving the agent to probe by trial.

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?

The single parameter (limit, default 10, max 50) has 0% schema description coverage and the description never mentions it. The sentence also doesn't clarify whether 'recent' is a fixed time window or simply the newest N records, which is exactly what limit controls.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names the resource (scans) and hints at content ('summary counts'), but supplies no verb and no scope definition — 'recent' is undefined. It is enough to guess this is a listing tool, but not to confidently separate it from siblings like list_findings or get_audit_log beyond the noun.

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 exclusions, and no mention of alternatives (get_finding, scan_target, get_audit_log) that an agent might confuse with it. 'Recent' weakly implies a use case but nothing tells the agent when this tool is the wrong choice.

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