Skip to main content
Glama

Link preview metadata

link_metadata
Read-onlyIdempotent

Fetches a web page and extracts its title, description, canonical URL, Open Graph and Twitter Card tags and favicon (the data behind link previews). Follows redirects and returns final_url; favicon_source says whether the icon is declared by the page or only the /favicon.ico guess. To see each redirect hop, use redirect_trace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to extract title, description, and Open Graph / Twitter Card metadata from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent, so the safety profile is covered. The description adds real behavior beyond that: it follows redirects, returns final_url, and explains favicon_source (declared vs /favicon.ico guess) — meaningful disclosure the 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.

Conciseness5/5

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

Three tight sentences, front-loaded with the core action and its outputs, then the redirect behavior, then the alternative tool. No filler.

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?

With no output schema, the description helpfully names key return fields (final_url, favicon_source). It stops short of describing failure behavior (non-HTML pages, unreachable hosts) or output shape, but for a single-param read tool this is largely sufficient.

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?

Single url parameter with 100% schema description coverage, so the schema already documents it. The description adds only marginal framing (what gets extracted from that URL); baseline 3 is appropriate when the schema carries the load.

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 (fetches/extracts) and resource (web page metadata), enumerating exactly which fields are pulled (title, description, canonical URL, OG/Twitter tags, favicon). It distinguishes itself from sibling redirect_trace by naming it directly.

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?

Explicitly routes the agent to redirect_trace when per-hop redirect data is wanted, which is clear alternative guidance. It does not address other plausible neighbors (url_reputation, security_headers), but the primary competing use case is covered.

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.