Skip to main content
Glama

Benchline

Build an Open Graph card

build_open_graph
Read-onlyIdempotent

Render one of the Open Graph templates as a PNG and a Next.js opengraph-image.tsx file. Pass a template id from list_og_templates, the fields that template uses, colors, a size, and optional base64 images.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ctaNo
urlNo
dateNo
heroNoHero image as base64, a data URI, or a public URL.
logoNoLogo image as base64, a data URI, or a public URL. Private addresses are refused. 10 MB cap.
metaNo
roleNo
sizeNo1200x630
statNo
timeNo
afterNoAfter image as base64, a data URI, or a public URL.
badgeNo
brandNoBrand name shown on templates that have a brand row.
priceNo
quoteNo
stepsNoOne step per line.
titleNo
authorNo
avatarNoPortrait image as base64, a data URI, or a public URL.
beforeNoBefore image as base64, a data URI, or a public URL.
colorsNo
captionNo
commandNo
episodeNo
eyebrowNo
imageUrlNoPublic URL written into og:image. This does not fetch the file.
readTimeNo
subtitleNo
templateNoTemplate id from list_og_templates.editorial
versionsNoOne version per line, as v2.3 | Note.
statLabelNo
afterValueNo
beforeValueNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pngYesPNG bytes, base64 encoded.
widthYes
heightYes
sourceYes
metaTagsYes
mimeTypeYes
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds only that images are optional and that output is a PNG plus a Next.js file; it does not explain rendering failures, size/weight limits, or what happens with fields not used by the chosen template.

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?

Two sentences, front-loaded with the action and outputs, then the required inputs. No filler or restated boilerplate.

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 described. However, for a 33-parameter, 18-template tool with zero required parameters, the description gives no sense of which fields belong to which template, forcing the agent to guess or re-query list_og_templates.

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 only 30% across 33 parameters, but the description does group them conceptually (template-specific fields, colors, size, optional base64 images) and notes that only 'the fields that template uses' matter, which is real semantic guidance. It stops short of enumerating the many text fields (quote, steps, versions, before/after values) that are undocumented in 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?

States a specific verb and resource (render Open Graph templates) plus both output artifacts (PNG and opengraph-image.tsx). It also ties itself to the sibling list_og_templates for template ids, so an agent can distinguish it from build_json_ld and list_og_templates at a glance.

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?

It establishes a clear workflow precondition: get the template id from list_og_templates, then pass the fields that template uses. There is no explicit when-not-to-use or exclusion, but the routing to the sibling is concrete and useful.

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