Skip to main content
Glama

Embed code for the face shape widget

get_embed_snippet
Read-only

Returns paste-ready HTML (a div plus one script tag) that adds the free face shape finder to a web page at the chosen size, with the usage terms and the embed page URL. The widget measures the visitor's photo in their browser, no sign-up and no upload to this server; the terms ask for the visible credit link to stay. Use this when a website owner wants photo measurement on their page; for one person's own photo, point them to thefaceanalysis.com/face-shape instead (this server accepts no photos), and use classify_face_shape when you already have the four distances. Read-only; it only generates text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_embed_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoWidget width: compact (360px), standard (480px) or wide (720px). Default standard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / size / description
      Previous value: -"compact 360px, standard 480px, wide 720px"New value: +"Widget width: compact (360px), standard (480px) or wide (720px). Default standard."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that measurement runs in the visitor's browser, that there is no sign-up and no photo upload to this server, and that the visible credit link must remain. That is genuine added behavioral context, though it does not address rate limits or response/error characteristics.

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?

The output shape and usage terms are front-loaded in the first sentence, with routing guidance after it. It is dense but each clause carries information; the only mild cost is long compound sentences that require careful reading.

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?

For a one-optional-parameter generation tool with no output schema, it describes what is returned (div plus script tag), the privacy model, the licensing obligation, and when not to use it. An agent has everything needed to call it correctly.

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 the single size enum already documents compact (360px), standard (480px) and wide (720px) with a stated default. The description only references 'the chosen size' without adding format or interaction detail, so the schema carries the load and the baseline 3 applies.

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 states a specific verb and resource: it returns paste-ready HTML (a div plus one script tag) that embeds the face shape finder at a chosen size. It explicitly contrasts itself with classify_face_shape and with the external per-person page, so an agent can tell it apart from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It names the precise trigger (a website owner wants photo measurement on their page) and two explicit alternatives with their selecting conditions: send individuals to thefaceanalysis.com/face-shape, and use classify_face_shape when the four distances are already known. Nothing is left 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.