Skip to main content
Glama

network_check

Read-onlyIdempotent

Resolve a public HTTP(S) URL and optionally check HTTP connectivity, reporting DNS source, addresses, timings, and status while avoiding private or loopback targets.

Instructions

Resolve a public HTTP(S) URL and optionally check its HTTP connectivity. Reports DNS source, addresses, timings and HTTP status. Failed or non-public system DNS answers may fall back to validated public HTTPS DNS. HTTP failures remain visible. Never probes private or loopback destinations. [v1.0.0; permissions: none]

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": "network_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTP(S) URL to diagnose
httpNoCheck HTTP connectivity after DNS; default true. Set false for DNS only.
timeoutMsNoTotal timeout in milliseconds, including DNS and redirects; default 15000.

Output Schema

NameRequiredDescriptionDefault
dataYes
toolYestool name
errorYes
statusYes
versionYessemantic version

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedOutput schema / allOf
      Previous value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "status": {
      -          "const": "ok"
      -        }
      -      }
      -    },
      -    "then": {
      -      "properties": {
      -        "data": {
      -          "properties": {
      -            "addresses": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "dnsMs": {
      -              "type": "number"
      -            },
      -            "hostname": {
      -              "type": "string"
      -            },
      -            "http": {
      -              "anyOf": [
      -                {
      -                  "type": "null"
      -                },
      -                {
      -                  "properties": {
      -                    "elapsedMs": {
      -                      "type": "number"
      -                    },
      -                    "reachable": {
      -                      "type": "boolean"
      -                    },
      -                    "statusCode": {
      -                      "type": "number"
      -                    },
      -                    "url": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "url",
      -                    "statusCode",
      -                    "elapsedMs",
      -                    "reachable"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "hostname",
      -            "addresses",
      -            "dnsMs",
      -            "http"
      -          ],
      -          "type": "object"
      -        },
      -        "error": {
      -          "type": "null"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "status": {
      -          "const": "confirmation_required"
      -        }
      -      }
      -    },
      -    "then": {
      -      "properties": {
      -        "data": {
      -          "properties": {
      -            "action": {
      -              "type": "string"
      -            },
      -            "approvalId": {
      -              "type": "string"
      -            },
      -            "expiresAt": {
      -              "type": "string"
      -            },
      -            "reviewUrl": {
      -              "enum": [
      -                "tinycast://extensions/cano/macos-agent-bridge/approvals",
      -                "raycast://extensions/cano/macos-agent-bridge/approvals"
      -              ]
      -            },
      -            "reviewUrls": {
      -              "properties": {
      -                "raycast": {
      -                  "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
      -                },
      -                "tinycast": {
      -                  "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
      -                }
      -              },
      -              "required": [
      -                "tinycast",
      -                "raycast"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "approvalId",
      -            "expiresAt",
      -            "action",
      -            "reviewUrl",
      -            "reviewUrls"
      -          ],
      -          "type": "object"
      -        },
      -        "error": {
      -          "type": "null"
      -        }
      -      }
      -    }
      -  }
      -]New value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "status": {
      +          "const": "ok"
      +        }
      +      }
      +    },
      +    "then": {
      +      "properties": {
      +        "data": {
      +          "properties": {
      +            "addresses": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "dnsMs": {
      +              "type": "number"
      +            },
      +            "dnsSource": {
      +              "enum": [
      +                "system",
      +                "public-doh"
      +              ]
      +            },
      +            "hostname": {
      +              "type": "string"
      +            },
      +            "http": {
      +              "anyOf": [
      +                {
      +                  "type": "null"
      +                },
      +                {
      +                  "properties": {
      +                    "dnsSource": {
      +                      "enum": [
      +                        "system",
      +                        "public-doh"
      +                      ]
      +                    },
      +                    "elapsedMs": {
      +                      "type": "number"
      +                    },
      +                    "fetchedAt": {
      +                      "type": "string"
      +                    },
      +                    "reachable": {
      +                      "type": "boolean"
      +                    },
      +                    "serverDate": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "statusCode": {
      +                      "type": "number"
      +                    },
      +                    "url": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "url",
      +                    "statusCode",
      +                    "elapsedMs",
      +                    "reachable",
      +                    "fetchedAt",
      +                    "serverDate",
      +                    "dnsSource"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "hostname",
      +            "addresses",
      +            "dnsSource",
      +            "dnsMs",
      +            "http"
      +          ],
      +          "type": "object"
      +        },
      +        "error": {
      +          "type": "null"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "status": {
      +          "const": "confirmation_required"
      +        }
      +      }
      +    },
      +    "then": {
      +      "properties": {
      +        "data": {
      +          "properties": {
      +            "action": {
      +              "type": "string"
      +            },
      +            "approvalId": {
      +              "type": "string"
      +            },
      +            "expiresAt": {
      +              "type": "string"
      +            },
      +            "reviewUrl": {
      +              "enum": [
      +                "tinycast://extensions/cano/macos-agent-bridge/approvals",
      +                "raycast://extensions/cano/macos-agent-bridge/approvals"
      +              ]
      +            },
      +            "reviewUrls": {
      +              "properties": {
      +                "raycast": {
      +                  "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
      +                },
      +                "tinycast": {
      +                  "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
      +                }
      +              },
      +              "required": [
      +                "tinycast",
      +                "raycast"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "approvalId",
      +            "expiresAt",
      +            "action",
      +            "reviewUrl",
      +            "reviewUrls"
      +          ],
      +          "type": "object"
      +        },
      +        "error": {
      +          "type": "null"
      +        }
      +      }
      +    }
      +  }
      +]
  2. First observedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the system-DNS-to-validated-public-HTTPS-DNS fallback path, guarantees that HTTP failures stay visible rather than being silently swallowed, and declares a hard safety boundary ('Never probes private or loopback destinations'). It also states permissions: none, which is meaningful operational context even alongside readOnlyHint=true and destructiveHint=false.

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-loaded with the core action and reporting scope, then behavior and safety, then version/permissions metadata. It is slightly dense at six short sentences, but each carries distinct information and none is filler.

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?

For a three-parameter read-only diagnostic with a full output schema, the description covers everything an agent needs: what is resolved, what fallback occurs, what failures look like, and what is off-limits. Return-value detail is correctly delegated to the output schema.

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%, so the schema already documents url, http and timeoutMs including the DNS-and-redirects timeout semantics. The description only restates that HTTP checking is optional, adding essentially nothing beyond the structured fields, so the baseline of 3 applies.

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 opening sentence gives a precise verb-plus-resource ('Resolve a public HTTP(S) URL and optionally check its HTTP connectivity') and the scope (DNS + HTTP diagnostics) immediately separates it from sibling web_fetch, which retrieves content rather than diagnosing. It also enumerates what is reported (DNS source, addresses, timings, HTTP status), leaving no ambiguity about what the tool does.

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?

Usage context is clear: it is a diagnostic tool, and the schema-backed note 'Set false for DNS only' tells an agent when to narrow scope. However, it never explicitly names an alternative ('use web_fetch to retrieve content', 'use web_search to find URLs') or states when not to call it, so the routing decision against siblings is left partly to inference.

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