Skip to main content
Glama

Check a link before opening it

check_link
Read-onlyIdempotent

Check a URL before opening, fetching, clicking, or sharing it; returns ALLOW, REVIEW, or BLOCK with reasons like new domain, look-alike brand, redirect, or certificate issues.

Instructions

Check a URL before you open, fetch or click it, or pass it to the user. Use it on every link that came from an email, message, document, search result or web page. Returns ALLOW, REVIEW or BLOCK with the reasons (new domain, look-alike of a brand, suspicious redirects, bad certificate, what other Scanify checks saw). One-time links such as password resets and magic sign-in links are checked without being opened, so they still work. Links are never sent to third-party scanners. If you are going to sign in or pay on the page, call check_before_login or check_before_payment instead: this tool does not know which company the page should belong to.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe full link, or a bare domain
visitNoLeave this out. Scanify opens links on its own servers, never in the user's browser, so checking is safe, and it already skips opening one-time links (password resets, magic sign-in links, unsubscribes) so they still work. "never" only checks the domain and misses where the link redirects to. "always" opens even one-time links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, but the description goes well beyond them: it names the three possible verdicts, lists the reason categories produced, guarantees one-time links are not consumed, and states that links are never sent to third-party scanners. These privacy and side-effect guarantees are exactly the behavioral context annotations cannot express.

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 action, then guidance, then return values, then the alternative-tool routing — a sensible order with no filler sentences. It is dense and runs long, and the one-time-link point partially duplicates the schema's visit description, keeping it just short of a 5.

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 correctly supplies the return shape (ALLOW, REVIEW, BLOCK plus reasons). For a two-parameter read-only checker it covers trigger, exclusions, side-effect safety, and output — nothing an agent needs to call it correctly is missing.

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% and the schema itself explains the 'visit' enum at length, so the description need not carry that load. The description only indirectly reinforces the visit semantics ('checked without being opened, so they still work') and adds no format or naming detail for the url parameter beyond 'full link, or a bare domain' already in the schema. Baseline 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?

States a specific verb and resource ('Check a URL') plus the exact moment of use ('before you open, fetch or click it, or pass it to the user'). It also distinguishes itself from the sibling tools by naming check_before_login and check_before_payment and explaining the differing scope.

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?

Gives an explicit trigger ('Use it on every link that came from an email, message, document, search result or web page') and an explicit exclusion routing to alternatives when the agent will sign in or pay. The reason for the exclusion ('this tool does not know which company the page should belong to') removes any ambiguity about which tool to pick.

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