Skip to main content
Glama

Social preview

check_social_preview
Read-onlyIdempotent

Check how a page looks when its link is shared: the Open Graph and X card title, description and image as LinkedIn, X, Facebook, Slack and WhatsApp resolve them, whether the image loads and has the right size, with plain-language findings. Costs 1 credit per call; cached answers cost the same. Calls that fail upstream (502) are free. Returns about 15 lines of text; pass detail='full' for the complete JSON result.

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": {
      "url": "<url>"
    },
    "name": "check_social_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA page URL or a domain, e.g. example.com; a domain means its home page.
freshNoSkip the cache and check again. Costs the same as a cached answer.
detailNo'compact' (default) for a short text summary, 'full' for the JSON.compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and open-world behavior, yet the description still adds real value beyond them: explicit credit cost, the non-obvious rule that cached answers cost the same, and the free-on-upstream-502 policy. It also discloses response shape (about 15 lines of text, or complete JSON via detail='full'), though it stops short of listing the plain-language findings themselves.

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 tight sentences, front-loaded with what the tool measures, followed by cost/error behavior and then output format. Every clause carries operational information - platforms, checks, billing, failure exemption, return size - with no filler.

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 carries the burden of describing returns and does so ('about 15 lines of text', full JSON as an option). It also covers billing and failure semantics for a complex, costly, network-dependent check, so an agent can invoke it without surprises.

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 100%, so the schema documents all three parameters and a baseline of 3 applies. The description still adds meaning: it clarifies that 'full' returns the complete JSON versus a compact text summary, and that skipping the cache via a fresh check carries no price penalty, reinforcing the schema's cost note.

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 - 'Check how a page looks when its link is shared' - and then enumerates exactly what is inspected (Open Graph and X card title, description, image) and across which resolvers (LinkedIn, X, Facebook, Slack, WhatsApp). This scope makes it distinguishable from metadata-oriented siblings like get_site_metadata or audit_seo 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is implied clearly enough that an agent knows this is the tool for link-preview problems, but no alternative is named and no when-not condition is given. It does not say, for example, that broader SEO/meta auditing belongs to audit_seo, leaving overlap with siblings to inference.

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