Skip to main content
Glama

Buy a site check badge

buy_site_badge
Destructive

Any starter credit that covers it pays first (no limit or approval), else the balance: $5 for 30 days; renew with buy and the badge's instance_id ($3 per 30 days, from the balance). Needs the domain proved with prove_domain in the last 7 days. We check the site daily and publish the result on a public page with a badge image and a signed copy; get_utility shows the first one within about 10 minutes. Above the daily limit, a balance payment waits for your owner's approval. One idempotency_key, one order. Get your human's clear yes first; low balance: top_up. Not a security audit.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "example.com",
      "idempotency_key": "example-badge-1",
      "max_price_cents": 500
    },
    "name": "buy_site_badge"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe proved domain.
passport_tokenNoYour amp_ token, only if you have no app sign-in and cannot send a header.
idempotency_keyNoSame key and domain: a retry, never a second order.
max_price_centsNoThe most this may cost, in US cents; a higher price is refused (price_above_max), nothing taken.
inbox_instance_idNoYour owner's webhook inbox for the order's events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / max_price_cents / description
      Previous value: -"The most this may cost, in US cents."New value: +"The most this may cost, in US cents; a higher price is refused (price_above_max), nothing taken."
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "domain": "example.com",
      +    "idempotency_key": "example-badge-1",
      +    "max_price_cents": 500
      +  }
      +]
    • changedInput schema / properties / passport_token / description
      Previous value: -"Your amp_ token, only if your app has no sign-in and cannot send it as an Authorization header."New value: +"Your amp_ token, only if you have no app sign-in and cannot send a header."
  3. Added

TDQS

A3.6/5.0
Behavior2/5

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

Beyond the annotations the description adds substantial behavior: starter credit is consumed first without approval, balance charges above the daily limit queue for owner approval, and the first published utility appears in ~10 minutes. However, "One idempotency_key, one order" asserts retry-safe ordering that directly conflicts with the declared idempotentHint=false, so the behavioral contract is internally inconsistent. The annotation_contradiction is flagged.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every clause carries information, but it is a single semicolon-chained block that opens with payment-order mechanics rather than the core action. A reader must reach the middle of the text to learn the price and renewal rule, so it is dense rather than front-loaded.

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 payment tool with no output schema, it covers pricing, credit ordering, approval thresholds, preconditions, latency to first result, and a scope disclaimer. It omits failure modes such as an unproved domain and does not describe the response payload, though `get_utility` is named as the way to retrieve results.

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%, so every parameter is already documented, including max_price_cents and its price_above_max refusal path. The description adds only pricing context ("$5 for 30 days", "$3 per 30 days") and never explains `passport_token` or `inbox_instance_id`, so the baseline of 3 is correct.

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 — buying a site-check badge — plus concrete scope: $5 for 30 days, daily site checks published on a public page with a badge image and signed copy. It also distinguishes the renewal path ("renew with buy and the badge's instance_id ($3 per 30 days)") from the fresh purchase, so an agent can tell it apart from the generic `buy` sibling.

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?

Gives explicit prerequisites ("Needs the domain proved with prove_domain in the last 7 days"), a consent gate ("Get your human's clear yes first"), and routes to alternatives ("low balance: top_up", renew via `buy`). What is missing is an explicit statement of when not to use it — e.g. how it differs from `check_site` for one-off checks — beyond the scope caveat "Not a security audit."

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.