Skip to main content
Glama

Rate an order

zoodex_rate_order

Submit ratings and comments for a delivered order by first retrieving vendor, courier, and product details, then rating the vendor, courier, products, or platform.

Instructions

Rate a delivered order. First call with target='details' to get the vendor slug, courier id, rating reasons and products. Then submit target='vendor' (rate 1-5, optional product ratings), 'courier' (rate 1-5) or 'zoodex' (comment only).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "order_id": "<order_id>"
    },
    "name": "zoodex_rate_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateNo
targetNodetails
commentNo
reasonsNoReason ids from the details response.
order_idYes
courier_idNo
vendor_slugNo
product_ratesNoMap of product id -> rate 1-5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the mandatory prerequisite fetch and the fact that 'zoodex' accepts a comment only, i.e. no numeric rate. It stops short of saying whether a rating can be overwritten or what a repeat submission does.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the prerequisite step stated before the submission branches so the reader encounters the workflow in execution order. Every clause carries operating information.

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 an 8-parameter, nested-object multi-mode tool with no output schema, the description covers the mode selection, the required prerequisite, and the per-mode argument expectations. It does not describe what the details response looks like beyond naming four fields, which is a minor gap given there is no output schema to lean on.

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 only 25%, so the description has to carry the load and largely does: it ties vendor_slug/courier_id to the details response, explains that reasons are ids from that response, confines comment to the zoodex target, and describes product_rates as an optional product-id-to-1-5 map. The one remaining gap is that 'rate' is not explicitly bound to vendor/courier only, though the parentheticals imply it.

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 ('Rate a delivered order') and then enumerates the three submission targets plus the details lookup, so an agent can tell exactly what the tool does and how it decomposes. No sibling tool in the list overlaps with rating, so differentiation is implicit rather than missing.

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 an explicit two-step workflow: call target='details' first to obtain vendor slug, courier id, reasons and products, then submit to 'vendor', 'courier' or 'zoodex'. It does not state exclusions (e.g. what happens on an undelivered or already-rated order), which keeps it short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.