Skip to main content
Glama

Set a minimum buyer rating

setMinBuyerRating
Idempotent

Only accept buyers at or above a rating on one of your listings (needs your API key; only the owner may). min_stars (1–5, or null for none) is checked against the buyer's stars as a buyer; a buyer nobody has rated yet passes it — no stars is not zero stars — so set min_reviews (≥ 1) to insist on a track record — here min_reviews is the count of reviews the buyer has received (search's same-named filter counts a seller's distinct buyers instead). The hosted buy link refuses a buyer below the bar before any money moves (forbidden, details.reason = buyer_below_min_rating); declines are not reviews. Defaults are off: everyone may buy. Reply: the listing's bar. No seller-written text is echoed (_untrusted is empty).

Input Schema

NameRequiredDescriptionDefault
min_starsYesRefuse buyers rated below this (1–5). null = no star bar. Unrated buyers pass.
listing_idYes
min_reviewsNoRefuse buyers who have received fewer reviews than this (the real review count, not search's same-named distinct-buyer filter). 0 = unrated buyers may buy.
idempotency_keyNoOptional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond annotations: it discloses the hosted buy link refuses a below-bar buyer before money moves with a specific error (forbidden, details.reason=buyer_below_min_rating), that declines are not reviews, that unrated buyers pass, and that replies carry no seller-written text (_untrusted empty). This is rich behavioral context that annotations alone (idempotent, non-destructive) cannot convey.

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?

Dense but front-loaded: it opens with purpose, then hyphenated clarifications. Every clause carries an edge case (no stars != zero stars, declines not reviews), though the single packed paragraph could be structured more scannably.

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 mutating tool with no output schema, the description supplies everything needed: prerequisites, defaults, error behavior, reply contents, and the idempotency contract (also in schema). Nothing required for correct invocation is missing.

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 75%, so the schema already documents min_stars and min_reviews well. The description reinforces the key nuance ('as a buyer', unrated passes, review-count vs search's distinct-buyer filter) but largely echoes schema text rather than adding net-new semantics, warranting a solid 4 rather than 5.

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: gate buyers by a rating bar on your listing. It also clarifies scope (only the owner, needs API key) and distinguishes its semantics from a same-named search filter, so an agent knows exactly what this does versus siblings.

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 clear operating context: API key required, owner-only, defaults are off so everyone may buy, and how min_stars and min_reviews combine. It contrasts semantics with search's filter but does not explicitly frame when-to-use versus a named alternative tool, so it stops short of a 5.

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