Skip to main content
Glama

Check if a URL can be fetched (free)

check_url
Read-only

Check whether a URL is allowed before paying: validates public page status, blocked-service rules, and robots.txt; actual requests may still be blocked, and charges apply only if the page loads.

Instructions

Free. Says whether a URL is allowed (public page, not a blocked service, allowed by robots.txt) before paying. The site may still block the actual request; you are only charged if the page loads.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page, e.g. https://www.amazon.de/dp/B0CHX3QBCH
countryNoCountry of the residential exit IP, e.g. de, jp, br (default: any)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say readOnly and open-world; the description adds the real value — it is free, it checks three concrete gates, and it explicitly warns that a passing check does not guarantee the downstream fetch succeeds. The cost clause ('you are only charged if the page loads') refers to a subsequent fetch and is slightly ambiguous about whether this tool itself can ever incur a charge.

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?

Three short sentences with the key qualifier ('Free.') front-loaded, so cost — the main decision driver — is read first. The final clause about charging for a loaded page slightly drifts from this tool's own behavior, mildly diluting focus.

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 a two-parameter read-only pre-check with no output schema, the description conveys what the verdict means and its limits, which is the main thing an agent needs. It stops short of describing the shape of the response (e.g. whether a reason or boolean is returned), which matters somewhat given there is no 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 coverage is 100%, so both url and country are already documented in the schema itself. The description mentions 'public page' and blocked-service checks, which loosely aligns with the url parameter, but adds nothing about the country/exit-IP parameter or formats beyond the schema baseline.

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 specific verb ('says whether a URL is allowed') plus the exact criteria evaluated (public page, not a blocked service, robots.txt). It implicitly separates this pre-check from the actual fetching siblings by framing it as a decision made 'before paying', so an agent can tell it is not the fetch itself.

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 'before paying' framing gives clear usage context: call this ahead of a paid fetch to avoid cost. It does not explicitly name an alternative tool or state when-not to call it (e.g. that a positive result does not guarantee a successful fetch is only hinted at).

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