Skip to main content
Glama

Censys Host Search

censys_host_search
Read-onlyIdempotent

Search Censys hosts for , finds internet-facing hosts matching a Censys query (CenQL), e.g. software, port, product, or ASN. Returns ip, matched services (port/service/transport), location, and autonomous system per host. Example: censys_host_search({ q: "services.service_name: HTTP and location.country: Germany", per_page: 25, _apiKey: "your-censys-token" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "services.port: 443 and location.country: US",
      "_apiKey": "your-censys-token",
      "per_page": 25
    },
    "name": "censys_host_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCensys query (CenQL), e.g. "services.port: 22", "services.software.product: nginx", "autonomous_system.asn: 15169"
_apiKeyYesCensys Platform Personal Access Token. Optionally "<token>:<organizationId>".
per_pageNoMax hosts to return (default 25, max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by describing the result shape (ip, matched services with port/service/transport, location, autonomous system) even though no output schema exists. It omits pagination/result-cap behavior and any rate-limit or quota context, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening clause is redundant, restating the same idea twice ('Search Censys hosts for <query>, finds internet-facing hosts matching a Censys query'). The full-call example also duplicates the two examples already present in the input schema, so a portion of the text does not earn its place.

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

Completeness4/5

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

For a three-parameter read-only search with no output schema, the description covers the query language, the result fields and a working call, which is enough to invoke it correctly. The remaining gap is operational behavior on large result sets (ordering, result caps, whether paging is possible), which an agent doing real work would want to know.

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 description coverage is 100%, and the schema already documents q, _apiKey and per_page including default and max. The description reinforces usage with a concrete call example but adds no syntax, format or constraint detail (e.g. how CenQL operators combine, or what '<token>:<organizationId>' does) beyond the schema, so the baseline 3 applies.

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?

The description gives a specific verb and resource ('Search Censys hosts', 'finds internet-facing hosts matching a Censys query (CenQL)') and enumerates the queryable dimensions (software, port, product, ASN). It does not, however, distinguish itself from the sibling 'censys_host' or 'censys_cert_search', so an agent must infer the boundary itself.

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 implied through the example queries and the enumerated query dimensions, which tell the agent what kinds of questions this tool answers. There is no explicit when-to-use/when-not-to-use guidance and no pointer to 'censys_host' for single-host lookups, so routing between the two Censys tools is left to inference.

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.