hdls Reviews

hdls Reviews is a headless, MCP-native reviews & testimonials backend. It manages reviews, ratings, and responses, operated entirely through named tools your AI assistant calls. It stands in for tools like Trustpilot, Yotpo — same job, no UI to run.

💬 Just ask

"Show me my latest reviews and draft a reply to the newest one-star."

You don't call these tools yourself — just tell your assistant in plain English. Everything below is the reference for when you (or your assistant) want the exact details.

How Reviews is organized

The headline entity is the review — start there, then attach the rest to it. Records connect by reference: a response links to a review. The moderation_event table is an append-only timeline — every change and note lands there and is never edited or deleted.

EntityPurposeRelates to
reviewA star rating plus written review of a subject, with moderation state and semantic search.subject
subjectThe entity being reviewed (product, company, location…); holds the denormalised rating aggregate.
responseA reply to a review (typically the official business response).review
moderation_eventAppend-only audit trail of every moderation action and status transition on a review.review

Tools

Call these at https://hdls.ai/api/mcp/reviews. Required fields you must supply; optional fields refine the call. You never pass tenant_id — it is stamped server-side.

Create

ToolWhat it doesRequiredOptional
create_reviewCreate a new review.subject_id, rating, bodytitle, author_name, author_email, status, verified, sentiment

Update & advance

ToolWhat it doesRequiredOptional
moderate_reviewModerate a review.id
respond_to_reviewRespond the review to review.id

Find & read

ToolWhat it doesRequiredOptional
search_reviewsSearch reviews by free-text and/or column filters (tenant-scoped, paginated).search, filters, limit, orderBy
aggregate_ratingAggregate ratings into a summary score.

Field lists come from the product's live schema and are embedded in each tool's own description — read the tool description for the exact, current fields.

Field reference

Every field you can set on each record. Custom fields you add live alongside these in data.

review

FieldTypeRequiredNotes
subject_ididYesLinks to a subject.
ratingnumberYes
titletextDisplay name.
bodytextYes
author_nametext
author_emailtext
statustextLifecycle state.
verifiedtrue / false
sentimenttext
helpful_countnumber
datajsonFree-form JSON — custom fields live here.

subject

FieldTypeRequiredNotes
kindtext
external_reftext
nametextYesDisplay name.
rating_avgnumeric(3,2)
rating_countnumber
datajsonFree-form JSON — custom fields live here.

response

FieldTypeRequiredNotes
review_ididYesLinks to a review.
bodytextYes
authortext
is_officialtrue / false
datajsonFree-form JSON — custom fields live here.

Tailor it with custom fields

Add fields without a schema change. add_custom_field defines one, list_custom_fields shows what's defined, and promote_custom_field (admin) shares a personal field with the whole workspace. The value lives in each row's data (JSON) and is set and read through the normal record tools. See Products, tools & custom fields for the full model.

Roles & safety

  • Tenant isolation is automatic. Your credential is pinned to one workspace; you never pass tenant_id, and you can only ever see your own data (enforced by Postgres row-level security).
  • Role-gated. Permissions run reader < member < admin < owner. Installing a product and promoting a custom field workspace-wide need admin/owner.
  • History is append-only. The moderation_event timeline is never edited or deleted — it's your audit trail.

Connect

On the concierge (https://hdls.ai/api/mcp), run install_product({ slug: "reviews" }) (admin/owner) to enable it for your workspace, then add https://hdls.ai/api/mcp/reviews as a connector in your assistant — see Connect your assistant.

A worked example

The literal call your assistant makes when you ask it to create the headline record:

Tool: create_review
Arguments: {
  "subject_id": "<subject-id>",
  "rating": 5,
  "body": "Notes go here."
}

See All products · Connect your assistant · Automation