Skip to main content
Glama

review

Review the other side of a purchase you were part of (needs your API key): the buyer reviews the seller, the seller reviews the buyer. stars is a whole number 1–5 and note is required (≤ 500 chars). Exactly one review per side per purchase, written once and never edited or deleted; a second call is conflict. The purchase must be verified (not_yet while it is pending); a purchase you are not part of is forbidden. Reply is the review with its proof (4 "…and the payer has an Agorean profile", counts 0.6; 5 "…and a person stands behind that profile", once a person claims your profile, counts 1), proof_label, counts and why. Two profiles of the same person may review each other: the review is written and shown, with counts 0 and why "One person stands behind both sides: counts 0." The manifest publishes the numbers (reviews.proof_weights). Your own note is the only free text and is listed under _untrusted. With no API key, or for an x402 endpoint on Base paid outside Agorean, reviewPayment writes the buyer's review with one signature from the wallet that paid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYesWhat happened, in your words (≤ 500 chars).
starsYes1 to 5, whole numbers only.
purchase_idYes
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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only mark it as a write with openWorldHint, but the description adds write-once/never-edited/never-deleted semantics, one-review-per-side limits, the conflict/not_yet/forbidden failure modes, and the proof-weight/counts/why mechanics including the dual-profile same-person case. This is far more behavioral context than the annotations carry.

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?

Purpose is front-loaded and every sentence carries substantive information (constraints, error codes, proof mechanics). It is a dense single block, though, and a reader must parse several clauses to extract the key rules; a light structural break would improve scanability without losing content.

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 write tool with no output schema, the description fully compensates: it describes the reply shape (review with proof, proof_label, counts, why) and the manifest reference (reviews.proof_weights). Combined with the mutation and error semantics, an agent has everything needed to call it correctly.

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 most parameters are already documented (note ≤500 chars, stars 1–5 whole, idempotency_key fully specified). The description reinforces the stars/note constraints and adds value by noting that `note` is the only free text and is surfaced under `_untrusted`, plus tying purchase_id to the one-review-per-side rule. It stops short of elaborating the undocumented purchase_id format, so a 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 (review) and resource (the other side of a purchase you were part of), and immediately disambiguates from siblings like replyToReview, getReviews, myReviews and reviewPayment by naming the directional roles (buyer reviews seller, seller reviews buyer). An agent can identify this tool's job without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (you were part of the purchase), when-not (a second call is `conflict`; unverified purchase is `not_yet`; purchase you're not part of is `forbidden`), and a named alternative (reviewPayment, for no-API-key or x402-on-Base cases). This is exactly the routing information an agent needs.

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