Skip to main content
Glama

WatchFor

Diagnose a host or URL

diagnose_target

Investigates a host or URL in one call: DNS, DNS propagation across every location, TLS grade, HTTP headers, and ping from up to 3 different regions, run in parallel and returned as one verdict (a status per check plus a machine-readable list of what looks wrong), with the TLS and security headers grades in grades. Each underlying check spends its own allowance, and a check the plan blocks comes back as skipped rather than failing the call. Needs a plan with location selection. Write scope.

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": {
      "target": "<target>"
    },
    "name": "diagnose_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesHostname or URL, e.g. example.com or https://example.com
location_idsNoPing location ids, in place of one location per region
max_locationsNoHow many regions to ping from (default 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare openWorld=true, readOnly=false, idempotent=false; the description adds valuable non-obvious behavior on top: parallel execution, per-check allowance consumption, and that a plan-blocked check degrades to 'skipped' instead of failing the whole call. It also discloses the response shape (status per check, list of issues, grades), leaving only rate-limit magnitude and repeat-call cost unpriced.

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?

Front-loads the investigation scope and outcome before the operational caveats about allowance and plan gating. The long parenthetical about the verdict and the `grades` field is dense but each clause carries information; no filler sentences.

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?

With no output schema, the description carries the return-value burden and does so: a per-check status list, a machine-readable list of problems, and TLS/security grades under `grades`. Combined with the plan and cost caveats, an agent has everything needed to call it and interpret results.

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 target, location_ids, and max_locations are already documented with examples and bounds. The description echoes 'up to 3 different regions' (matching max_locations' maximum) but does not clarify the interplay between location_ids and max_locations, so it adds little beyond the schema.

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?

Names a concrete verb and resource ('Investigates a host or URL') and enumerates the exact checks bundled: DNS, DNS propagation, TLS grade, HTTP headers, and ping. The phrase 'in one call' plus 'run in parallel and returned as one verdict' signals this is an aggregate diagnostic rather than a single lookup, which implicitly separates it from get_host/get_check_details, though no sibling is named.

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?

Gives real preconditions: 'Needs a plan with location selection' and 'Write scope', and explains what happens under limited plans (blocked checks return as skipped). It does not state when to prefer a narrower tool or when not to run the full battery, so usage context is clear but exclusions are absent.

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.