Skip to main content
Glama

ScanMalware.com URL Scanner

Get JS Fingerprint Similar

get_jsfingerprint_similar
Read-onlyIdempotent

Find JavaScript files whose fingerprint is similar to the one with this fingerprint_id, above threshold (0 to 1), paginated with limit and offset. exclude_same_scan drops matches from the same scan. Useful for finding variants of one script.

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": {
      "fingerprint_id": "<fingerprint_id>"
    },
    "name": "get_jsfingerprint_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results, 1 to 100.
offsetNoNumber of results to skip, for paging; 0 starts at the first result.
thresholdNoMinimum similarity, 0 to 1.
fingerprint_idYesNumeric ID of a JavaScript fingerprint, as listed among a scan's scripts.
exclude_same_scanNoLeave out files from the same scan.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / fingerprint_id / minimum
      Added value: +1
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / offset / minimum
      Added value: +0
  2. Changed5 schema fields changed
    • addedInput schema / properties / exclude_same_scan / description
      Added value: +"Leave out files from the same scan."
    • addedInput schema / properties / fingerprint_id / description
      Added value: +"Numeric ID of a JavaScript fingerprint, as listed among a scan's scripts."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results, 1 to 100."
    • addedInput schema / properties / offset / description
      Added value: +"Number of results to skip, for paging; 0 starts at the first result."
    • addedInput schema / properties / threshold / description
      Added value: +"Minimum similarity, 0 to 1."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuine behavioral context: threshold is a 0-1 similarity floor and exclude_same_scan drops matches from the originating scan. It omits result ordering, what a null threshold means, and any rate/cost expectations, so it is helpful but not rich.

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?

Three compact sentences, front-loaded with the core operation and followed by parameter behavior and a use case; no filler. Minor redundancy between the threshold mention and the schema, but nothing that wastes the reader's time.

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?

Output schema exists, so return values need no explanation, and all parameters are addressed. For a similarity-search tool with 5 params, the gaps are the default-threshold semantics, ordering of matches by similarity, and differentiation from the by-hash sibling, which matter for correct invocation.

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 100%, so the schema already documents all five parameters including the 1-100 limit bound, offset paging, threshold range and exclude_same_scan. The description restates those meanings ('paginated with limit and offset', 'above threshold (0 to 1)') without adding format or default-resolution detail, which is the expected baseline when the schema does the work.

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?

Specific verb plus resource: 'Find JavaScript files whose fingerprint is similar to the one with this fingerprint_id'. The similarity-search intent is unmistakable. It does not, however, distinguish itself from the close sibling find_js_fingerprint_similar_by_hash, so the agent must infer the difference from names alone.

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?

Provides an implied usage context with 'Useful for finding variants of one script', which tells the agent the discovery scenario. There is no explicit when-not guidance and no named alternative, even though a hash-keyed equivalent exists among siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.