Skip to main content
Glama

scan_target

Crawl a target URL, scan its JavaScript for exposed secrets and vulnerable libraries, and get finding counts, top results, and a dashboard link in one call.

Instructions

Crawl, scan and verify in one call. Returns counts plus the top findings and a dashboard link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "scan_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
max_pagesNoMaximum HTML pages to crawl
max_js_filesNoMaximum JavaScript files to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and only partially meets it. It usefully discloses what comes back (counts, top findings, dashboard link), but says nothing about whether this performs active/intrusive scanning against a live URL, what authorization or scope is required, how long it takes, or whether results persist — all critical for an active scan tool.

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 short sentences with zero waste, front-loading the action and then the return shape. Every clause carries information an agent needs.

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 return-value sentence compensates somewhat for the absent output schema, listing counts, top findings, and a dashboard link. However, for a composite active-scanning tool with no annotations, the omission of authorization, scope, and runtime behavior leaves an agent under-informed before invoking it.

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 67%: max_pages and max_js_files are documented in the schema, but the sole required parameter 'url' has no description anywhere. The description mentions no parameters at all, so it adds no meaning beyond the schema and leaves the required URL's expected format and constraints undocumented.

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?

The description states specific verbs (crawl, scan, verify) against a target and makes clear this is a composite one-call operation, which distinguishes it from single-purpose siblings like crawl_target. It stops short of naming or contrasting with those siblings explicitly, so the differentiation is implied 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?

'in one call' implies this is the bundled alternative to running crawl/scan/verify separately, which gives an agent a usable selection cue. There is no explicit when-not guidance, no mention of prerequisites such as scope authorization (despite check_scope/get_scope siblings), and no guidance on cost or runtime relative to the narrower tools.

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