Skip to main content
Glama

Check how a domain is handled

check_domain
Read-onlyIdempotent

Determine how Control D would handle a domain now—blocked, bypassed, redirected, or resolved—and which rule decides it, without real traffic; checks all endpoints unless one is named.

Instructions

Ask Control D how it would answer a domain right now (blocked, bypassed, redirected, or resolved normally) and which filter, service, custom rule, or default rule decided it. Needs no real traffic. Checks every endpoint unless one is named.

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": {
      "site": "<site>"
    },
    "name": "check_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesA domain or URL
endpointNoExact endpoint name or ID; omit to check every endpoint

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds genuinely new behavioral facts: no real traffic is generated, evaluation is against current config at query time, and it spans every endpoint by default (implicitly a broad, potentially large result set).

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?

Two sentences, zero filler. The outcome enumeration comes first so the agent immediately knows the return semantics, and scope details follow.

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?

With no output schema, the description carries the burden of return semantics and does so by listing the verdict types plus the deciding entity (filter, service, custom rule, default rule). It stops short of saying how results are shaped when all endpoints are checked (one entry per endpoint), which is the only real gap.

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 100%, so both `site` and `endpoint` are already documented, including the omit-to-check-all semantics. The description adds only marginal meaning ('unless one is named', and treating `site` as a domain although the schema also allows URLs), which is the baseline for high-coverage schemas.

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 gives a concrete verb and resource ('Ask Control D how it would answer a domain right now') and enumerates the four possible verdicts, so an agent knows exactly what comes back. The clause 'Needs no real traffic' implicitly separates it from the activity/diagnostic siblings that observe actual traffic.

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 establishes clear context for use: a hypothetical evaluation with no live traffic, and scope control via 'Checks every endpoint unless one is named.' It does not name an explicit alternative (e.g. diagnose_recent_blocks) or state when not to use it, keeping it below the top tier.

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