Skip to main content
Glama

Preview the search result

serp_preview

Preview how a page's title and meta description appear in Google search results, measuring truncation by rendered width instead of character count. Test alternate titles and descriptions without changing the page.

Instructions

Render a page's title and description the way a Google result will show them, measured in pixels rather than characters. Google truncates by rendered width, so a title of capitals is cut far sooner than one of narrow letters — the character count everyone quotes misleads on exactly the titles worth checking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe page to preview. A path works if SEO_MCP_SITE is set.
titleNoTry a different title without editing the page.
descriptionNoTry a different meta description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses a key behavior—truncation is pixel-based rather than character-based—and explains why that matters. However, it does not clarify what the tool returns (e.g., an image, HTML, or text), nor whether it fetches the page or only uses the provided title/description, leaving important 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?

The description is two sentences with no wasted words. The first sentence states the core purpose and measurement unit; the second provides a non-obvious reason why this tool matters. Information is front-loaded and every sentence earns its place.

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?

The description is adequate for selecting the tool, but because there is no output schema, the description should ideally explain the return format or visual result. It also omits whether the tool accesses a live URL or works solely with provided inputs, which an agent would need for correct invocation. The strong schema helps, but the missing output and behavior details keep this from being complete.

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?

The input schema already documents all three parameters with 100% coverage, so the baseline is 3. The description adds no parameter-specific details beyond the general pixel-measurement context, which applies to title and description rendering but does not explain syntax, formats, or edge cases.

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 description uses a specific verb ('Render') and specifies the exact resource ('a page's title and description') in the context of Google search results. It clearly distinguishes this preview tool from sibling tools like generate_meta or audit_page by emphasizing visual, pixel-based rendering.

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?

The description gives a clear context for use: checking how Google will actually truncate a title or description, because character counts are misleading. It does not explicitly name alternatives or state exclusions, but the scenario is concrete enough for an agent to decide when to invoke it.

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