Skip to main content
Glama

Restaurant reviews

food_reviews
Read-onlyIdempotent

Retrieve recent restaurant customer reviews by vendor code to inspect ratings, review text, ordered items, and vendor replies.

Instructions

Read recent customer reviews of a restaurant (rating, text, what they ordered, vendor reply).

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": {
      "vendor_code": "<vendor_code>"
    },
    "name": "food_reviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage of 10, newest first, from 0.
full_textNoText uncut (default 400 chars).
vendor_codeYesVendor code, e.g. '947evd'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • changedInput schema / properties / full_text / description
      Previous value: -"Return review and reply text uncut (default cut to 400 chars)."New value: +"Text uncut (default 400 chars)."
    • changedInput schema / properties / vendor_code / description
      Previous value: -"Vendor code, e.g. '947evd' (from food_search / food_restaurants)."New value: +"Vendor code, e.g. '947evd'."
  2. Changed7 schema fields changedv0.2.0
    • addedInput schema / properties / full_text
      Added value: +{
      +  "default": false,
      +  "description": "Return review and reply text uncut (default cut to 400 chars).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"Zero-based page of 10 reviews, newest first."New value: +"Page of 10, newest first, from 0."
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • changedInput schema / properties / vendor_code / description
      Previous value: -"Snappfood vendor code, e.g. '947evd' (from food_search / food_restaurants)."New value: +"Vendor code, e.g. '947evd' (from food_search / food_restaurants)."
    • removedInput schema / properties / vendor_code / title
      Removed value: -"Vendor Code"
    • removedInput schema / title
      Removed value: -"food_reviewsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "food_reviewsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description usefully lists what each review contains (rating, text, ordered items, vendor reply), which compensates somewhat for the absence of an output schema. It says nothing about recency windows, result limits, or the 400-character truncation behavior documented only in the schema.

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?

One sentence, front-loaded with the action and resource, with no filler. It is arguably under-packed rather than padded, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with rich annotations and a fully documented schema, this is adequate: the description fills the output-schema gap by naming the review fields. It leaves unstated the pagination model (10 per page, newest first) and the default text truncation, which an agent would only learn from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so paging, full_text and vendor_code format are fully documented in structured fields. The description adds no parameter-level meaning beyond what the schema already provides, which is the baseline case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb and resource ('Read recent customer reviews of a restaurant') and enumerates the returned fields. It implies the restaurant scope that separates it from the sibling market_reviews, but never names that sibling or makes the distinction explicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as market_reviews or food_restaurants. The agent must infer from the word 'restaurant' alone that this tool is the wrong choice for store reviews.

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