Skip to main content
Glama

Get Badge

get_badge
Read-onlyIdempotent

The live "Get it on pwamart" badge (rating + installs) for a listing, as HTML and Markdown snippets to paste on the app's site, plus whether its homepage links back (the ✓ and a followed link). Pass slug, or site (a homepage URL) to find which listing a site is.

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_badge"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoa homepage URL, instead of slug
slugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false already declared, this description adds real value beyond the annotations: it discloses the return payload (HTML and Markdown snippets containing rating and installs) and that the result also reports backlink verification with a ✓ and a followed link. Since there is no output schema, this disclosure carries the return-value burden well, though it says nothing about failure modes when the lookup misses.

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 tight sentences, front-loaded with the return payload and then the parameter routing. The parentheticals (rating + installs) and (the ✓ and a followed link) each earn their place by defining what the caller receives.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter, no-output-schema tool, the description covers what comes back and how to select the lookup key, which is most of what an agent needs. The remaining gap is behavior when neither parameter is provided or when a site has no matching listing.

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 only 50% – slug has no schema description at all – so the description has to compensate, and it partly does: it frames slug and site as alternative lookups and explains that site is used to resolve a homepage URL to a listing. It still never defines what a slug is or whether the two are mutually exclusive.

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 a specific verb and resource: it returns the live 'Get it on pwamart' badge (rating + installs) as HTML and Markdown snippets, plus backlink status for the listing's homepage. That is concrete and unambiguous. It stops short of explicitly stating how it differs from the sibling check_badge, which appears to overlap on the backlink-verification aspect.

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?

It gives clear invocation guidance for the two lookup modes ('Pass slug, or site (a homepage URL) to find which listing a site is'), which implies you use site when you only know a homepage. But there is no explicit when-to-use/when-not guidance relative to check_badge or get_app, and no statement about what happens if neither parameter is supplied despite both being optional.

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