Skip to main content
Glama

crawl_target

Crawls a target and lists the JavaScript files it loads without scanning, refusing and logging out-of-scope hosts.

Instructions

Crawl a target and list the JavaScript it loads, without scanning. Out-of-scope hosts are refused and logged.

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": "crawl_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.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose two meaningful traits: out-of-scope hosts are refused and logged, and no scanning occurs. But it says nothing about authentication needs, rate limits, whether the crawl follows links beyond the seed URL, or what happens when limits are hit, which is a substantial gap for an unannotated network-touching 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 filler; the primary capability is front-loaded and the scope-enforcement caveat follows immediately. Nothing is redundant or padded.

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 3-parameter tool with no output schema and no annotations, the definition covers the core action, the return shape in outline (a list of JS files), and scope refusal. It leaves out traversal depth behavior, output ordering/format, and error conditions, which an agent would need to use results confidently.

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 coverage is 67%: max_pages and max_js_files are documented in the schema, but url has no description anywhere. The description's mention of "a target" and "out-of-scope hosts" only loosely connects to url and adds no format, protocol, or scope-resolution detail beyond the schema.

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 names a specific verb and resource ("Crawl a target and list the JavaScript it loads") and adds the key differentiator "without scanning," which separates it from scan_target. It stops short of naming the sibling outright, so an agent must infer the contrast rather than read it directly.

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?

The phrase "without scanning" implies this is the lighter, reconnaissance-only alternative to a full scan, which is useful context. However, there is no explicit when-to-use/when-not statement, no mention of check_scope or scan_target by name, and no prerequisite guidance beyond the scope-enforcement note.

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