Skip to main content
Glama

ScanMalware.com URL Scanner

Search SMQL Domains

search_smql_domains
Read-onlyIdempotent

Search domains rather than scans with SMQL domain filters, including domains ScanMalware never scanned, each with its newest public scan when one exists. Filters: ct_ip:<ip or /24> (domains on an address when their certificates were issued), nameserver: (registered domains delegated to it, optionally AND tld:se), ct_domain:/ct_san: (certificate hostnames, wildcards allowed; add AND ct_issued:last7d to make a wildcard much faster) and tld:. A wildcard over every certificate log runs for a minute or more: the answer then has status 'running', and repeating the same query later returns the result. Paginated by limit (1 to 500) and next_cursor.

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_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSMQL query with domain filters (ct_ip:, nameserver:, ct_domain:, ct_san:, tld:), for example ct_ip:192.0.2.10.
limitNoMaximum number of results, 1 to 500.
cursorNonext_cursor from the previous page; omit for the first page.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +500
    • addedInput schema / properties / limit / minimum
      Added value: +1
  2. Changed3 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"next_cursor from the previous page; omit for the first page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results, 1 to 500."
    • addedInput schema / properties / q / description
      Added value: +"SMQL query with domain filters (ct_ip:, nameserver:, ct_domain:, ct_san:, tld:), for example ct_ip:192.0.2.10."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses two behaviors an agent could not otherwise anticipate: results include domains with no scan, and a whole-log wildcard runs a minute or more, returning status 'running' with the same query later yielding the result. That async/retry detail is exactly the kind of operational context annotations cannot carry.

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, then filters, then the performance caveat, then pagination — a sensible ordering. The middle filter enumeration is a long run-on with parenthetical asides, which costs a little readability but carries no filler.

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 three-parameter tool with a full output schema and complete annotations, nothing material is missing: input syntax, performance expectations, the running-status handoff, and pagination via limit/next_cursor are all covered. Return-value shape is rightly left to the output schema.

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 baseline is 3, but the description earns above it by explaining what the filter syntax means: ct_ip matches when certificates were issued, nameserver:<exact host> covers registered domains delegated to it and can be ANDed with tld:, and wildcards are permitted only in ct_domain/ct_san. It adds semantics the schema merely enumerates.

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 opening clause states a specific verb and resource and explicitly contrasts scope with a sibling: 'Search domains rather than scans with SMQL domain filters'. It also discloses a distinctive capability (domains ScanMalware never scanned, each with its newest public scan), so an agent can tell this apart from search_smql without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly routes the agent away from scan-oriented search ('rather than scans') and gives concrete filter selection guidance, including when to add 'AND ct_issued:last7d' to make a wildcard query tractable. It stops short of naming specific sibling tools such as get_ct_domains_by_ip or search_by_nameserver that overlap with individual filters.

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.