Skip to main content
Glama

Get the website badge

get_badge_html
Read-only

HTML for a small badge the user can put on their own website. It links visitors to the poster.

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": {
      "slug": "<slug>"
    },
    "name": "get_badge_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
themeNodark

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the useful fact that the result is embeddable markup aimed at external sites. It does not disclose output details such as whether a full snippet or a URL is returned, nor any gating conditions on the poster.

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?

Two short sentences, front-loaded with the deliverable and no filler; nothing could be removed without losing the little content it has.

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?

For a two-parameter tool with no output schema, the description conveys the return artifact reasonably well, but it leaves the required slug and the theme enum unexplained. It is adequate rather than complete.

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

Parameters2/5

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

Schema coverage is 0%, so both parameters need the description to carry them. The reference to "the poster" only weakly implies that slug identifies a poster, and the theme parameter with its dark/light enum is not mentioned at all, leaving half the surface undocumented everywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the concrete deliverable, "HTML for a small badge," and its effect: it links visitors to the poster. That is specific enough to distinguish it from get_share_text, but the producing verb is only implied and the poster identifier is never tied explicitly to the required slug.

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

Usage Guidelines2/5

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

The phrase "the user can put on their own website" hints at the embedding scenario, but there is no explicit when-to-use or when-not, no comparison to get_share_text, and no prerequisites such as whether the poster must be published first.

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