Skip to main content
Glama

url_safety_check_batch

Use when: are these links phishing or scam sites? Up to 20 URLs in one call for $0.05. Same phishing blocklists, RDAP domain age, punycode and brand-lookalike detection, and HTTPS reachability as the single URL check. Results stay in request order. A failed or timed-out URL is marked on that item; the batch still returns. Costs $0.05.

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_safety_check_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations the description carries the full burden and does so: it discloses the price ($0.05), the batch cap (20), the detection sources (phishing blocklists, RDAP domain age, punycode, brand-lookalike, HTTPS reachability), result ordering, and partial-failure semantics ('a failed or timed-out URL is marked on that item; the batch still returns'). That failure and ordering behavior is exactly the context an agent cannot get from the schema.

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 'Use when:' trigger and structured as capability, scope, behavior, then failure handling. The only waste is the closing 'Costs $0.05.', which restates the price already given earlier in the same paragraph.

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 one-parameter, no-annotation, no-output-schema tool, the description covers cost, input scope, detection sources, ordering, and partial failure — nearly everything needed to call it correctly. The remaining gap is the absent indication of what the per-URL result contains (verdict fields, signals), which the description could briefly sketch since there is no output schema.

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% and the schema is a bare string with maxLength 42000, so the description must add meaning; it does so by clarifying the payload is up to 20 URLs and that output order matches request order. It omits the practical detail of how the URLs are delimited in that single string, leaving an avoidable ambiguity.

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 opens with a concrete question it answers (are these links phishing or scam sites) and names the resource: URLs, in a batch of up to 20. It also explicitly anchors to the sibling 'single URL check' so an agent can tell the batch and single variants apart without opening either schema.

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 'Use when:' prefix is a clear trigger condition, and the up-to-20-URLs/$0.05 framing tells an agent when this batch is the economical choice over the single check. It stops short of explicit exclusions, such as when a URL should still go to the single endpoint or what to do for non-phishing risk questions.

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