Skip to main content
Glama

Js Analyze

js_analyze
Read-only

Fetches JavaScript bundles to extract endpoints, secrets, and libraries using pattern matching and security tools, without testing credentials.

Instructions

Fetch JavaScript bundles and extract endpoints, secrets, and libraries.

Fetches each URL once (a normal browser request), then runs native pattern matching, jsluice (grammar-based URL extraction), linkfinder (regex-based endpoint recovery over the saved files) and retire.js (known-vulnerable library detection). Either external tool being absent is reported per-tool in tools; it never turns into a quiet zero. Credential candidates are masked in the output and are never tested against a live service here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
max_filesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.1.0

TDQS

A3.7/5.0
Behavior5/5

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

The description explicitly states that each URL is fetched once, credential candidates are masked, and never tested against a live service. It also discloses that missing external tools are reported per-tool rather than silently ignored. This aligns with the readOnlyHint and non-destructive annotations.

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?

The description is reasonably concise, with a clear one-sentence summary followed by supporting details. It avoids unnecessary fluff but includes important behavioral notes.

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 description mentions output characteristics (masked credentials, per-tool reporting) but does not describe the overall output structure. Given that an output schema exists (though not shown), the description could be more specific about what the agent will receive.

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 input schema provides no descriptions for target or max_files, and the description does not explain their meaning. While target likely refers to a URL or list of URLs, and max_files to a limit, this is not explicitly stated, leaving ambiguity.

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

Purpose5/5

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

The description clearly states the action (fetch and extract) and the specific targets (JavaScript bundles) and outputs (endpoints, secrets, libraries). It also lists the specific tools used, making it unambiguous.

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?

The description does not provide any guidance on when to use this tool versus alternative tools like content_discovery or secret_scan. It only describes its internal operations, leaving the agent to infer applicability.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamsecure1920/Cordon-AI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server