Skip to main content
Glama

ScanMalware.com URL Scanner

Find Similar Runtime JS Behaviour

search_js_runtime_similar
Read-onlyIdempotent

Find scans whose runtime JavaScript behaviour is similar to this scan's, above min_similarity; include_self keeps the scan itself. scan_id is the UUID of a ScanMalware scan.

Input Schema

NameRequiredDescriptionDefault
limitNo
scan_idYes
include_selfNo
min_similarityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that: no note on result ordering, how similarity is computed, or how many scans are compared. With an output schema present, this is an acceptable but thin behavioural layer.

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?

Two dense sentences with no filler, and the core purpose is front-loaded before the parameter notes. The trailing clause about scan_id is slightly tacked-on but costs little.

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?

An output schema exists, so return values need no explanation, and the annotations cover safety. Still, the undocumented 'limit' parameter and the absence of routing guidance against many similarly named sibling search tools leave meaningful gaps for a 4-parameter search endpoint.

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 0%, so the description must carry the parameter burden. It clarifies scan_id (UUID of a ScanMalware scan), min_similarity (a threshold), and include_self (whether the scan appears in results), but the 'limit' parameter is left entirely undocumented. Three of four parameters are covered, which is adequate but incomplete.

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?

States a specific verb and resource: finds scans with similar runtime JavaScript behaviour to a given scan. This distinguishes the behaviour-based search from hash/fingerprint-based siblings like search_js_runtime_by_composite_hash. However, it does not explicitly name which sibling to use instead, so sibling 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?

The description implies the use case (find behaviourally similar scans) and gives one usage knob (min_similarity threshold, include_self toggle), but it never states when to prefer this over search_similar_scans, search_js_runtime_by_signature, or find_js_fingerprint_similar_by_hash. Usage is inferred rather than guided.

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.