Skip to main content
Glama

Domain capability stats

domain_stats

Retrieve domain fetch statistics from SearXNG's capability database, including per-tier success rates, robots/llms.txt presence, and metadata reachability. Specify a hostname for details or omit for aggregate metrics.

Instructions

Read the searxng-mcp domain capability database — what it has learned about hosts from fetches: per-tier success rates (tier1-3 cascade, tier4 wayback, github fast path), llms.txt/robots presence, metadata reachability, and search appearances. Provide hostname for one domain's record, or omit it for an aggregate across all tracked domains (per-tier success rates, worst failing domains, seen-but-never-fetched count). Read-only. Aggregate mode reports truncated: true if the internal scan cap is hit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameNoHostname or URL to look up (e.g. 'docs.anthropic.com'). Omit for an aggregate over all tracked domains.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
foundYes
recordYes
hostnameYes
aggregateYes
unavailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.29.0
    • changedOutput schema / properties / aggregate / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "domains_tracked": {
      -        "type": "number"
      -      },
      -      "failing_count": {
      -        "type": "number"
      -      },
      -      "seen_never_fetched": {
      -        "type": "number"
      -      },
      -      "tiers": {
      -        "$ref": "#/properties/record/anyOf/0/properties/tiers"
      -      },
      -      "top_failing": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "attempts": {
      -              "type": "number"
      -            },
      -            "domain": {
      -              "type": "string"
      -            },
      -            "ok": {
      -              "type": "number"
      -            },
      -            "success_rate": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "domain",
      -            "attempts",
      -            "ok",
      -            "success_rate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "domains_tracked",
      -      "seen_never_fetched",
      -      "tiers",
      -      "failing_count",
      -      "top_failing",
      -      "truncated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "domains_tracked": {
      +        "type": "number"
      +      },
      +      "failing_count": {
      +        "type": "number"
      +      },
      +      "schema_version": {
      +        "type": "number"
      +      },
      +      "seen_never_fetched": {
      +        "type": "number"
      +      },
      +      "tiers": {
      +        "$ref": "#/properties/record/anyOf/0/properties/tiers"
      +      },
      +      "top_failing": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attempts": {
      +              "type": "number"
      +            },
      +            "domain": {
      +              "type": "string"
      +            },
      +            "ok": {
      +              "type": "number"
      +            },
      +            "success_rate": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "domain",
      +            "attempts",
      +            "ok",
      +            "success_rate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      },
      +      "window": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "elapsed_ms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "oldest_sample_ms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "ttl_ceiling_ms": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "oldest_sample_ms",
      +          "elapsed_ms",
      +          "ttl_ceiling_ms"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "window",
      +      "domains_tracked",
      +      "seen_never_fetched",
      +      "tiers",
      +      "failing_count",
      +      "top_failing",
      +      "truncated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / unavailable
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changedv3.23.0
    • changedOutput schema / properties / record / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "capabilities": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "llms_full_txt": {
      -            "type": "boolean"
      -          },
      -          "metadata_fetch_rate": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "robots_allows_us": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "seen_in_search": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "llms_full_txt",
      -          "robots_allows_us",
      -          "metadata_fetch_rate",
      -          "seen_in_search"
      -        ],
      -        "type": "object"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "first_seen": {
      -        "type": "string"
      -      },
      -      "last_fetch": {
      -        "type": "string"
      -      },
      -      "preferred_strategy": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "tiers": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "github": {
      -            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      -          },
      -          "tier1": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "attempts": {
      -                "type": "number"
      -              },
      -              "fail": {
      -                "type": "number"
      -              },
      -              "ok": {
      -                "type": "number"
      -              },
      -              "success_rate": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "attempts",
      -              "ok",
      -              "fail",
      -              "success_rate"
      -            ],
      -            "type": "object"
      -          },
      -          "tier2": {
      -            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      -          },
      -          "tier3": {
      -            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      -          },
      -          "tier4": {
      -            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      -          }
      -        },
      -        "required": [
      -          "tier1",
      -          "tier2",
      -          "tier3",
      -          "tier4",
      -          "github"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "first_seen",
      -      "last_fetch",
      -      "preferred_strategy",
      -      "tiers",
      -      "capabilities"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "capabilities": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "llms_full_txt": {
      +            "type": "boolean"
      +          },
      +          "metadata_fetch_rate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "robots_allows_us": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "seen_in_search": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "llms_full_txt",
      +          "robots_allows_us",
      +          "metadata_fetch_rate",
      +          "seen_in_search"
      +        ],
      +        "type": "object"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "first_seen": {
      +        "type": "string"
      +      },
      +      "last_fetch": {
      +        "type": "string"
      +      },
      +      "preferred_strategy": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "tiers": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "crawl": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          },
      +          "github": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          },
      +          "solver": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          },
      +          "tier1": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "attempts": {
      +                "type": "number"
      +              },
      +              "fail": {
      +                "type": "number"
      +              },
      +              "ok": {
      +                "type": "number"
      +              },
      +              "success_rate": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "attempts",
      +              "ok",
      +              "fail",
      +              "success_rate"
      +            ],
      +            "type": "object"
      +          },
      +          "tier2": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          },
      +          "tier3": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          },
      +          "tier4": {
      +            "$ref": "#/properties/record/anyOf/0/properties/tiers/properties/tier1"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "first_seen",
      +      "last_fetch",
      +      "preferred_strategy",
      +      "tiers",
      +      "capabilities"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Addedv3.14.0

TDQS

A4.6/5.0
Behavior4/5

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

The description explicitly labels the operation as read-only and states that aggregate mode reports whether the internal scan cap was hit. It does not describe error behavior or output formatting, but the read-only nature and data scope are well conveyed.

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

Conciseness5/5

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

The description is focused and information-dense, listing the relevant statistics and parameter behavior without unnecessary filler. The repeated read-only statement is minor but not harmful, and the overall structure is easy to scan.

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?

Given the single optional parameter and the presence of an output schema, the description adequately covers what the tool does, what data it returns, and how to select between per-domain and aggregate modes. No critical usage context appears to be missing.

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

Parameters5/5

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

The only parameter, hostname, is fully described in both the schema and the description, including an example value and the behavior when omitted. The optional/aggregate distinction is explicit, leaving no ambiguity about parameter usage.

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 description clearly states the tool reads the searxng-mcp domain capability database and enumerates the specific statistical data it exposes. It is easily distinguished from the search/fetch sibling tools because its focus is domain capability statistics rather than retrieving or searching content.

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?

The description explains how to use the tool: provide a hostname for one domain or omit it for an aggregate. It does not explicitly contrast when to use this tool versus the sibling search/fetch tools, but the domain-stats purpose makes the appropriate context reasonably clear.

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