Skip to main content
Glama

Footer snippet for webrings

ring_embed
Read-only

The copy-paste HTML a site puts in its footer to show it belongs to one or more webrings here: << Ring >> per ring, previous / ring page / next, each hop measured from the member site given as site (its homepage). Returns a plain variant (bare links, the page styles them) and a styled one (inline styles), plus the raw links. No script, no images. Rings are slugs from list_rings.

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": {
      "rings": "<rings>"
    },
    "name": "ring_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe member site's homepage, e.g. https://example.com/. Omit for a placeholder.
ringsYesRing slugs, in the order the rows should appear.
randomNoAdd the random-site link. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the return artifacts (plain variant, styled variant, and raw links), the absence of scripts or images, and how hops are derived from `site`. These are exactly the behavioral facts an agent needs before calling, and none repeat the annotations.

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?

Front-loaded with the deliverable and then packed with concrete detail in two sentences; the only minor cost is that the middle clause ('each hop measured from the member site given as `site`') reads densely. No filler or restated title.

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?

No output schema exists, so the description must carry return-value burden itself, and it does by specifying three distinct return artifacts and their constraints. Combined with the list_rings dependency note, nothing an agent needs to call it correctly is missing.

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 every parameter already documents itself, including the ordering semantics of `rings` and the placeholder behavior when `site` is omitted. The description's paraphrase of `site` adds little beyond the schema, so 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?

States a concrete deliverable: 'The copy-paste HTML a site puts in its footer' to show membership in one or more webrings, with the rendered shape spelled out (`<< Ring >>`, previous / ring page / next). That is specific enough to separate it from list_rings (enumeration) and ring_next (single hop).

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?

Establishes the scenario (footer embed for a site belonging to rings) and a prerequisite dependency: 'Rings are slugs from list_rings.' It never states a when-not or names a sibling alternative, so an agent gets clear context but no explicit routing rules.

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