Skip to main content
Glama

create_template_from_url

Design an on-brand OG image template from any website URL using its logo, colors, and fonts, then get a layout ID and variables to generate matching previews.

Instructions

Use AI to design a new OG image template from a website's brand (logo, colors, fonts) taken from a URL. Returns the chosen layoutId (a built-in template id usable with generate_og_image), the variables to pass, and the extracted brand kit. Counts against the plan's AI quota.

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only supply openWorldHint=true, so the description carries the rest: it discloses that this is an AI-driven, non-deterministic operation and warns that it 'counts against the plan's AI quota' — valuable cost information an agent needs before invoking. It doesn't say whether a template is persisted, what happens on extraction failure, or whether the call is idempotent, leaving some gaps.

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 compact sentences, front-loaded with purpose, then return values, then the quota caveat. No filler and nothing repeated from structured fields.

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?

With no output schema, the description correctly spells out what comes back (layoutId, variables, extracted brand kit) and how the layoutId connects to generate_og_image. Combined with the quota warning, an agent has everything needed to call this correctly for a one-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single 'url' param is undocumented in the schema, so the description must compensate. It does clarify the semantic meaning of the URL — the website whose brand (logo, colors, fonts) will be extracted — but adds no format/length/edge-case guidance beyond the schema's uri and maxLength constraints.

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 ('design a new OG image template') plus the input source ('from a website's brand ... taken from a URL'), and it explains the artifact produced (layoutId usable with generate_og_image). An agent can distinguish this from generate_og_image, list_templates, or scan_url without opening any schema.

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 makes the triggering condition clear (you have a website URL and want a branded template designed) and names generate_og_image as the downstream consumer of the returned layoutId. It stops short of stating when NOT to use it (e.g. vs list_templates for existing templates or scan_url for plain extraction), so it is clear context without explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.