Skip to main content
Glama

diagnose_http

Read-only

Check whether the task's public endpoint is reachable and explain what failed. First call: {"url":"https://YOUR-TARGET.example/health","evidence_pack":true}. Replace the example URL with the actual target. No account or key is required. Checks DNS, TCP, verified TLS and HTTP HEAD. Report finding and suggested_action. Only ports 80/443, no credentials/query strings/fragments or redirects. Default uses HEAD. Optional surface_scan=true requires surface_authorized=true: only hosts you operate or may test. Public scope GETs the root, discovery docs and linked JS. Verified scope also probes config files and sourcemaps: supply agent_id and its owner api_key with current DNS verification of that hostname. At most 15 URLs, 256 KiB each, 2 MiB total and 6.5 seconds extra. No remote tools or credentials sent to the target. Returns categories, confidence, remediation and coverage, never matched values, fragments, snippets or dynamic paths. Findings are candidates; no_findings is not a security certificate. Surface scans are point-in-time, unsigned and share the same quota; not available in scheduled watches. evidence_pack=true adds a compact unsigned verdict, finding, observations, confidence basis and next step; omits the echoed URL path. Returns cause, evidence and suggested_action. First 10 shared completed interactive product-work calls/IP/24h are free; then 1 credit with utility_api_key, request_key and max_coins. Reuse request_key on retry; honor Retry-After. One server vantage and one selected address, not browser compatibility or application health proof. next_step focuses on this observation. guidance="full" adds all optional monitoring and evidence offers.

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": {
      "url": "<url>"
    },
    "name": "diagnose_http"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
api_keyNo
agent_idNo
guidanceNocompact
max_coinsNo
request_keyNo
surface_scanNo
evidence_packNo
surface_scopeNopublic
utility_api_keyNo
surface_authorizedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / max_coins
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Max Coins"
      +}
    • addedInput schema / properties / request_key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Request Key"
      +}
    • addedInput schema / properties / utility_api_key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Utility Api Key"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / guidance
      Added value: +{
      +  "default": "compact",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "title": "Guidance",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / evidence_pack
      Added value: +{
      +  "default": false,
      +  "title": "Evidence Pack",
      +  "type": "boolean"
      +}
  4. Changed5 schema fields changed
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Agent Id"
      +}
    • addedInput schema / properties / api_key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Api Key"
      +}
    • addedInput schema / properties / surface_authorized
      Added value: +{
      +  "default": false,
      +  "title": "Surface Authorized",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / surface_scan
      Added value: +{
      +  "default": false,
      +  "title": "Surface Scan",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / surface_scope
      Added value: +{
      +  "default": "public",
      +  "title": "Surface Scope",
      +  "type": "string"
      +}
  5. Added

TDQS

A4.1/5.0
Behavior5/5

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

Well beyond the readOnly/openWorld annotations: it discloses that no remote tools or credentials are sent to the target, that results never include matched values, fragments, snippets or dynamic paths, that scans are point-in-time and unsigned, that findings are candidates rather than a certificate, and that quota/rate-limit behavior includes free-tier limits, credit cost and Retry-After handling. This is exactly the 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.

Conciseness3/5

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

The critical first-call example is front-loaded, which is good, but the body is a dense run-on with duplicated return descriptions ('Report finding and suggested_action' recurs as 'Returns cause, evidence and suggested_action') and interleaved limits, billing and caveats that could be grouped. Every fact is relevant, but the ordering makes skimming harder than necessary.

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 an 11-parameter, multi-mode tool with no schema descriptions, the definition covers invocation, prerequisites, limits, cost, and caveats thoroughly; return values are partly restated despite an output schema existing. Remaining gaps are minor (default behavior of surface_scope, exact meaning of max_coins).

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 0% across 11 parameters, so the description must carry the load and largely does: it explains url format and substitution, the surface_scan/surface_authorized coupling, surface_scope public vs verified with the required agent_id plus owner api_key and DNS verification, evidence_pack's added verdict and omitted URL path, and the utility_api_key/request_key/max_coins billing trio with request_key reuse on retry. Only max_coins' semantics and the surface_scope value space beyond 'public' remain thin.

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?

Opens with a specific verb and resource: 'Check whether the task's public endpoint is reachable and explain what failed', and immediately scopes it ('DNS, TCP, verified TLS and HTTP HEAD'). It also excludes adjacent concerns ('not browser compatibility or application health proof'), which implicitly separates it from health-check siblings, 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 a concrete first-call payload, tells the agent to substitute the real target, states no account/key is needed, and lists hard preconditions for the advanced path ('surface_scan=true requires surface_authorized=true: only hosts you operate or may test') plus exclusions ('not available in scheduled watches'). It never routes to an alternative tool such as diagnose_mcp, so the when-not-this-tool half of the guidance is missing.

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.

Resources