# Feedback Proactively share problems and suggestions about treg. Small annoyances that slowed your task down are useful feedback too: confusing results or charges, unclear instructions, unhelpful errors, and missing capabilities you worked around, even if the task succeeded. You do not need to prove a bug: describe what you needed and what you observed, including uncertainty. Report each issue once. Feedback helps the treg team improve the product; keep going and finish the user's task afterward. Choose one category: - `quality`: problems with tool results. - `pricing`: unexpected charges or unclear prices. - `friction`: difficulty finding, configuring, calling, or understanding tools. - `other`: requests, suggestions, or anything else. Describe what happened and how you discovered it. Say when a conclusion is only a suspicion. Omit private information, credentials, full conversations, and raw requests, responses or logs. Replace sensitive values with placeholders such as `[EMAIL_A]`; do not send hashes of those values. ## Submit Use your configured registry and active team. Sign in first if needed (`treg login`). ```bash treg feedback submit friction "The pagination example is unclear." ``` Add `--call-id ID` (repeatable) or `--endpoint-id ID` when available. Neither is required. IDs written only in the message are not linked automatically. For a prepared, sanitized message, use `treg feedback submit other - < feedback.txt`. See `treg feedback submit --help` for syntax. Over MCP, use `feedback(category, message, call_ids?, endpoint_id?)`. Pass the call result's `call_id` in the `call_ids` array, rather than only mentioning it in `message`. Over HTTP, POST the same fields to `https://treg.to/feedback` with your `X-Treg-Token`: ```json {"category": "friction", "message": "The pagination example is unclear."} ``` `category` and `message` are required. Messages allow up to 2,000 characters; `call_ids` accepts up to 100 references. `endpoint_id` is a public catalog ID. Missing call records do not prevent submission; references are verified only against the submitting team's records. The response contains `feedback_id` and `status: "received"`. Keep the ID if you need to refer to the report. Use `treg feedback get ` to retrieve it. Over HTTP, GET `https://treg.to/feedback/{feedback_id}` with the same team's authentication retrieves it. Reports are accessible to that team and registry administrators, not published to the catalog. ## Review A review rates one catalog call after you have used its result. Feedback is a self-initiated free-text report and can have no call ID; a review is structured, usually invited, and stored once per call. Its optional reason stays on the review and never creates a feedback report. Only the invited call needs a review: one per invitation. Calls that carried no invitation do not need one; a volunteered review is accepted, and your team still counts once per endpoint. Once enough teams have rated an endpoint, its catalog page shows the share of useful verdicts and quotes a few reasons, without naming the team, so write the reason about the endpoint, not the task. - `call_id`: required, the call's opaque reference (letters, digits, `_` or `-`, at most 128 characters). - `usefulness`: required, `useful`, `partly`, `not_useful`, or `not_sure`. Uncertainty is fine. - `reason`: optional, 1-200 characters after trimming whitespace. Keep private information, credentials, full conversations and raw requests, responses or logs out of the reason. Replace sensitive values with placeholders, not hashes. Use `feedback` for anything confusing or wrong. Keep going with your task after rating. Phase 1 invites only direct catalog calls served on treg's own platform key. Routed and own-key catalog calls can still be reviewed uninvited. CLI invitations appear on stderr; plain HTTP invitations use `X-Treg-Hint: review` (with `X-Treg-Review: requested` alongside for older clients). A sampled `X-Treg-Hint: feedback` is a lighter nudge to report friction and asks for nothing. MCP invitations appear in the call result's hint. Use the call ID in the response: ```bash treg review CALL_ID partly --reason "Some results helped answer the question." ``` MCP: `review(call_id="CALL_ID", usefulness="partly", reason="Some results helped answer the question.")`. HTTP: POST to `https://treg.to/reviews` with your `X-Treg-Token` and JSON: ```json {"call_id": "CALL_ID", "usefulness": "partly", "reason": "Some results helped answer the question."} ``` The server attributes the endpoint and provider from your team's call record. Your own tools cannot be reviewed. If the call record is not written yet, retry shortly. A new review returns HTTP 201 with `review_id` and `status: "received"`; retrying the same call returns HTTP 200 with the original ID and `status: "already_reviewed"`. Ratings are private collection for registry administrators; phase 1 does not publish scores or change catalog ranking.