Skip to main content
Glama

Draw a share image (Open Graph card)

generate_og_image
Read-onlyIdempotent

Draw a 1200 × 630 share image as SVG from a title and, optionally, a subtitle, a site name, a light or dark theme and an accent colour. Answers the SVG and notes; convert it to PNG before using it as og:image, since networks don't show SVG. Answers from what you send alone: nothing is fetched or stored.

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": "generate_og_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNolight (default) or dark.
titleYesThe card's headline.
accentNoAccent colour as hex, like #4d7c0f.
siteNameNoShown top left.
subtitleNoOne line under it.

Output Schema

NameRequiredDescriptionDefault
toolYes
toolUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the bar is lower, and the description still adds real value: it is a pure, deterministic drawing with 'nothing fetched or stored', and the deliverable is SVG that must be converted to PNG. That caveat about the output format being unusable as-is for og:image is behavioral context the annotations cannot convey.

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?

Three compact sentences, front-loaded with the concrete output (size and format) before the optional inputs and the caveat. A couple of phrases are slightly awkward ('Answers the SVG and notes', 'Answers from what you send alone') but nothing is 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?

Output schema exists, so return values need not be spelled out, and the description still signals that notes accompany the SVG. Annotations plus the purity and PNG-conversion statements cover behavior well; only the relationship to the sibling preview tool is unaddressed.

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 every parameter has a description, so baseline is 3. The description restates the parameter set (title, optional subtitle, site name, light/dark theme, accent colour) and marks optionality, but adds no syntax or format detail beyond the schema.

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?

States a specific verb ('Draw'), resource ('1200 × 630 share image'), and output format (SVG), plus the exact inputs it consumes. It does not name the closest sibling (preview_social_card), so an agent must infer the difference between drawing a card and previewing one.

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?

Gives downstream usage guidance ('convert it to PNG before using it as og:image, since networks don't show SVG'), which is genuinely useful. However, it offers no when-to-use versus alternatives framing and no exclusion telling the agent when another image tool is the better call.

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