Skip to main content
Glama

Rate an order

rate_order
Idempotent

Records the customer's 1–5 star rating and optional comment for a delivered Fold order (rating again replaces the earlier one). Works with the connected account, or order code + the email used when scheduling. For a high rating the response includes Fold's public review link the customer may choose to use; for a low rating it notes that report_issue opens a support case (re-clean, damage, missing item).

Input Schema

NameRequiredDescriptionDefault
emailNoNot needed with a connected account.
starsYes
commentNoOptional, up to 500 characters, in the customer's words.
orderCodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond the annotations: re-rating overwrites the earlier rating, and the response branches — a public review link for high ratings, a pointer to report_issue for low ones. Annotations already cover idempotency and non-destructiveness, and the description corroborates rather than contradicts them; no failure/validation behavior is described.

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?

Three tight sentences, front-loaded with the action and scale, then auth, then response behavior. Slightly dense in the final sentence but every clause carries information an agent would otherwise have to guess.

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 4-parameter tool with no output schema, the description covers inputs, auth, and the salient conditional response content. Missing only error/validation behavior (e.g., what happens for a non-delivered or unknown order).

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?

With only 50% schema coverage (orderCode and stars are undescribed), the description compensates by tying orderCode to 'the email used when scheduling' and stating the 1–5 star scale. It doesn't clarify why email is optional in the connected-account case beyond the schema's own note.

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 (records a 1–5 star rating plus optional comment) and scopes it precisely to a 'delivered Fold order'. It also implicitly separates itself from report_issue by casting that sibling as the path for service problems rather than feedback.

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 preconditions (order must be delivered) and two authentication paths — connected account, or orderCode + the email used at scheduling. It also routes low-rating cases toward report_issue, though it does not explicitly state when to prefer report_issue over rating (e.g., rating is still recorded alongside a complaint).

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