Skip to main content
Glama

ScanMalware.com URL Scanner

Search SMQL

search_smql
Read-onlyIdempotent

Search public scans with the ScanMalware Query Language (SMQL): field filters such as domain:paypal.com, ip:1.2.3.4, favicon_hash:, js_sha256:, jarm: or title:login, combined with AND, OR, NOT, a leading - and parentheses; ranges such as submitted:last7d or js_risk_score:60..100; existence checks such as has:malware. Defanged indicators (paypal[.]com) are accepted. Paginated (page up to 1000, limit up to 100); sort is newest, oldest, url, load_time or ip_count; count_only returns only the number of matches. An unknown filter is rejected with a suggested correction. Broad wildcard queries can take tens of seconds.

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": {
      "q": "<q>"
    },
    "name": "search_smql"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSMQL query, for example domain:paypal.com AND title:login; up to 2000 characters.
pageNoPage number, 1 to 1000.
sortNoResult order: newest (default), oldest, url, load_time or ip_count.newest
limitNoMaximum number of results, 1 to 100.
count_onlyNoReturn only the number of matching scans, without results; faster when only the count is needed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / page / maximum
      Added value: +1000
    • addedInput schema / properties / page / minimum
      Added value: +1
  2. Changed5 schema fields changed
    • addedInput schema / properties / count_only / description
      Added value: +"Return only the number of matching scans, without results; faster when only the count is needed."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results, 1 to 100."
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1 to 1000."
    • addedInput schema / properties / q / description
      Added value: +"SMQL query, for example domain:paypal.com AND title:login; up to 2000 characters."
    • addedInput schema / properties / sort / description
      Added value: +"Result order: newest (default), oldest, url, load_time or ip_count."
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: unknown filters are rejected with a suggested correction, defanged indicators are normalized, and broad wildcard queries can take tens of seconds. Return-shape detail is deferred to the output schema, which is acceptable.

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?

Purpose is front-loaded in the first clause, and the remainder is packed with query syntax, limits and latency expectations rather than filler. It is dense and long for a single paragraph, but each clause carries distinct information, so little could be cut without losing invocation detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter search tool with an output schema, the description covers the query language, accepted indicator formats, pagination bounds, sort options, count-only mode and even the latency and error behavior of bad filters. Nothing an agent needs in order to construct a valid call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so page/limit/sort/count_only are already fully documented and the description only echoes the sort enum values. It earns credit for the q parameter, where it adds syntax and semantics the schema does not: field names, operator precedence with parentheses, range forms like submitted:last7d, and has: existence checks.

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?

States a specific verb and resource ("Search public scans") and immediately defines the query language it accepts, including field filters, boolean operators, ranges and existence checks. That scoping is enough for an agent to tell this general SMQL search apart from the field-specific siblings without opening any schema.

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?

Usage is only implied: the emphasis on combining filters with AND/OR/NOT suggests this tool is for compound queries, and the count_only note hints at count-only use. It never states when to prefer this over siblings like search_by_ip, search_by_favicon or count_smql_queries, leaving the agent to infer routing from capability text alone.

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.