Skip to main content
Glama

Link Preview API - Open Graph, Meta Tags, URL Data, No Key

link_preview_open_graph
Read-onlyIdempotent

Get a link preview for up to 50 URLs per call: title, description, image, site name, favicon, type, language, canonical URL, author, published time, Twitter card, theme colour, oEmbed endpoint and JSON-LD types, read from the page's own Open Graph and meta tags. Image, PDF and video URLs get a preview from their headers. Private and internal addresses are refused. Monitor mode returns only URLs whose preview changed. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/link-preview-open-graph.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": [
        "https://example.com",
        "https://en.wikipedia.org/wiki/Bulgaria"
      ]
    },
    "name": "link_preview_open_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNoWeb page, image, PDF or video URLs to preview, up to 50 per run (http or https; a URL without a scheme gets https). Each URL returns one row. Private, internal and localhost addresses are refused with an error row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent, and the description still adds substantial context beyond them: free-tier rate limit of 5 calls/day per IP, paid access via X-API-Key or x402 per-call pricing, and a security-relevant refusal behavior for private and internal addresses. What it does not disclose is what an error row looks like or how partial failures are surfaced in the response.

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?

It is one dense, front-loaded paragraph that leads with the capability and the returned fields before moving to limits and pricing. The pricing and marketing links (€9/mo, x402 URL) are the least essential parts and slightly bloat the definition, though they do carry authentication information.

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?

For a single-parameter read tool with no output schema, the description compensates well by enumerated the returned fields and covering media handling, refusals, rate limits and alternate modes. An agent has enough to decide to call it and to predict the shape of the result.

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 single 'urls' parameter is already fully documented in the schema, including the 50-URL cap, scheme defaulting and the refusal behavior. The description largely restates that ('up to 50 URLs per call'), adding only the detail that image/PDF/video URLs are previewed from headers, which is marginal beyond the schema.

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?

Names a specific verb and resource (get a link preview) and enumerates exactly what is extracted — title, description, image, favicon, oEmbed, JSON-LD types — read from the page's Open Graph/meta tags. Nothing among the listed siblings does link unfurling, so the tool is unambiguously differentiated.

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?

Operational constraints are stated (max 50 URLs per call, private/internal/localhost addresses refused, media URLs previewed from headers, monitor mode returns only changed URLs), which implies the intended usage. However, there is no explicit statement of when to choose this tool versus an alternative, and 'monitor mode' is referenced without explaining how it is activated given that the schema exposes only 'urls'.

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