Skip to main content
Glama

check_links

Verify whether HTTPS links shared in a WhatsApp chat still resolve, returning HTTP status and final address while refusing private, local, or reserved destinations.

Instructions

Check whether the https links shared in a chat still work (HTTP status, final address).

Only public https addresses are contacted; private, local and reserved addresses are refused. The requests come from the user's computer, so the linked sites see the user's IP address.

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": {
      "chat": "<chat>"
    },
    "name": "check_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes
afterNo
limitNo
beforeNo
accountNoAccount from list_accounts when several WhatsApp numbers are set up; default: default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two genuinely useful traits: an SSRF-style safety policy (only public https addresses; private/local/reserved refused) and a privacy consequence (requests originate from the user's machine, exposing their IP). It does not explain why readOnlyHint is false despite the tool reading chat data, nor any rate limits or how many links are checked per call — but the added context is substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core action followed by the safety constraint and the privacy note. Every sentence carries distinct information; nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and the safety/privacy notes cover the biggest behavioral unknowns. However, with five parameters at 20% schema coverage and a readOnlyHint=false that goes unexplained, the description is only adequate, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20%, with 'account' the sole documented parameter. The description mentions 'a chat' but says nothing about after/before/limit — whether they bound the message window, the number of links checked, or the output size — so it fails to compensate for the coverage gap. Only the required 'chat' parameter is weakly implied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: 'Check whether the https links shared in a chat still work', and even names the outputs (HTTP status, final address). No sibling in the catalog does link validation, so differentiation is implicit rather than stated — clear but not explicitly contrasted with alternatives.

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

Usage Guidelines3/5

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

Usage is only implied by 'links shared in a chat' — an agent can infer this is for validating links found in a specific chat. There is no explicit when-to-use vs. when-not guidance, and no mention of what to do if no links exist or how it relates to tools like fetch_shared_docs or get_message_context.

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