Skip to main content
Glama

Probe URLs in Bulk

url_probe

Checks many public URLs in one call (1-100): for each, status, ok, final_url, redirects (each hop's status, URL and Location, capped at 10), content_type, content_length (the server's Content-Length header; with content_encoding set, content_length_compressed is true and it counts compressed bytes, often of an empty HEAD body, so it is not the page's size: url_fetch measures that), method, last_modified and etag, or an error word (target_refused, timeout, fetch_failed). HEAD is tried first with a headers-only GET fallback, redirects are followed, and one bad URL never fails the probe — use it to triage a candidate list (feed URLs, sitemaps, downloads) before fetching bodies with url_fetch. Credits: 1 per URL whose server answered; URLs that never answered are free, and answered counts them. This tool runs synchronously. When retention succeeds, retained.run_id reads the completed answer again for free with scraper_run_get; retained.available false says why it could not be kept. Saved synchronous results can be evicted early when storage is needed. The same idempotency_key never charges twice during its replay window.

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": {
      "urls": "<urls>"
    },
    "name": "url_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesPublic http or https URLs to check
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output. Send idempotency_key to read the other form later without a new charge.
idempotency_keyNoOptional retry key bound to this customer and these arguments. Matching retries replay the first result and do not reserve a second credit; the replay says so in billing (replayed true, credits_charged_this_call 0, original_credits_used).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: HEAD-first with GET fallback, redirect following with a 10-hop cap, per-URL isolation ('one bad URL never fails the probe'), credit accounting (1 per answered URL, unanswered free), synchronous execution, retention via scraper_run_get, and early eviction of saved results. The only nuance is that these are packed into a dense run-on, making the behavioral picture harder to scan than it could be.

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?

Front-loaded correctly with purpose and scope, but the body is one sprawling sentence chain that blends return fields, mechanics, billing, retention, and eviction together. Every fact earns its place individually, yet the lack of structure (no separation of return shape vs. mechanics vs. billing) hurts scannability.

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 compensates by enumerating the per-URL result fields (status, ok, final_url, redirects, content_type, content_length, method, last_modified, etag, error words) and covering cost, retention, and replay behavior. Nothing an agent needs to call this correctly is missing.

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 already 100%, so baseline is 3, but the description adds real interpretive value: it explains that content_length is the header value and can count compressed empty-HEAD bytes (not page size, deferring to url_fetch), and it clarifies the verbosity/idempotency_key interplay for reading the other form without a new charge.

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?

States a specific verb and resource with explicit bounds ('Checks many public URLs in one call (1-100)') and immediately separates itself from body-fetching siblings by pointing to url_fetch. An agent knows exactly what this does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the concrete scenario ('triage a candidate list (feed URLs, sitemaps, downloads)') and the explicit alternative plus ordering ('before fetching bodies with url_fetch'). It also discloses the sync/idempotency caveats that affect when to call it.

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