Skip to main content
Glama

web_tools_og_image

Open Graph card from a title: 1200x630 for link previews (also Twitter, square and story sizes), three layouts, your colours, logo and photo. Long titles shrink to fit and are never cut off. Returns the image and the meta tags. Price: $0.02 USDC via x402, charged only on success. Part of Web tools: A real browser for agents: screenshot any page on desktop or phone, read a page as clean Markdown, print a URL or HTML to PDF, draw HTML to an image, make social cards, audit a page for SEO, speed, accessibility and broken links, and compare two versions of a page pixel by pixel..

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": {
      "title": "<title>"
    },
    "name": "web_tools_og_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoog 1200x630, twitter 1200x600, square 1080x1080, story 1080x1920.og
themeNodark
titleYes
accentNo#d9480f
footerNoSmall line at the bottom: author, URL.
formatNopng
eyebrowNoSmall line above the title: site name, section, date.
logoUrlNoLogo shown in the footer (PNG or SVG with transparency works best).
imageUrlNoPhoto or screenshot: fills the right panel in split, sits behind the text otherwise.
subtitleNo
templateNoclassic: text on a calm background; split: text left, image or colour panel right; bold: big type on the accent colour.classic
backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the x402 payment mechanism, the exact price, that billing only occurs on success, the return payload (image plus meta tags), and a concrete rendering guarantee that long titles shrink rather than truncate. It omits wallet/auth prerequisites for x402 and any rate limits, which keeps it short of a 5.

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

Conciseness3/5

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

The core sentences are front-loaded and efficient, but the trailing 'Part of Web tools: ...' catalogue enumerates eight unrelated capabilities of the broader suite. That boilerplate adds length without helping an agent decide to call this specific tool, diluting an otherwise tight definition.

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 12-parameter generation tool with no annotations and no output schema, the description covers the essentials: what is produced, what comes back, cost model, and a key rendering edge case. The remaining gaps are auth mechanics for x402 and the meaning of a few cosmetic parameters, which is a modest shortfall rather than a blocking one.

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 description coverage is 50% across 12 parameters, so the description has to carry some weight. It adds meaning for title behaviour (auto-shrink, never cut off) and groups accent/background as 'your colours', logo and photo, but says nothing about theme, subtitle, eyebrow, footer, or format, leaving those to the schema alone.

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 opening clause names a concrete resource — an Open Graph card generated from a title — and immediately scopes it with dimensions (1200x630), variant sizes (Twitter, square, story) and layout count. That is specific enough that an agent can tell it apart from generic image siblings like image_tools_placeholder or web_tools_render_html without opening the schema.

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?

The phrase 'for link previews' implies the intended use case, but there is no explicit when-to-use versus when-not, and no alternative is named for the adjacent jobs an agent might confuse it with (e.g. rendering arbitrary HTML to an image via web_tools_render_html). Usage is inferable rather than stated.

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