Skip to main content
Glama

Submit a verified review

submit_verified_review
DestructiveIdempotent

Publish a signed-in shopper's rating and review for their provider-verified completed Square checkout; requires reviews:write. Returns ok, review_id and already_submitted on success. Obtain approval for the exact public text. One review per booking; repeats return the original. Optional residency and up to three recommend_tags must be explicitly chosen by the shopper, never inferred; they appear only in aggregate totals when enough reviews exist.

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": {
      "booking_id": "<booking_id>",
      "rating": "<rating>",
      "body": "<body>"
    },
    "name": "submit_verified_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
ratingYes
residencyNoOptional. Only what the shopper chose when asked: 'local' for "I live here", 'visiting' for "I'm visiting". Never infer it from location, address or history; omit it when the shopper does not choose.
booking_idYes
recommend_tagsNoOptional. Up to three distinct reasons the shopper recommends the place, chosen by the shopper. Only with a rating of 4 or 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / recommend_tags
      Added value: +{
      +  "description": "Optional. Up to three distinct reasons the shopper recommends the place, chosen by the shopper. Only with a rating of 4 or 5.",
      +  "items": {
      +    "enum": [
      +      "quality",
      +      "value",
      +      "service",
      +      "atmosphere",
      +      "consistency",
      +      "one_of_a_kind"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / residency
      Added value: +{
      +  "description": "Optional. Only what the shopper chose when asked: 'local' for \"I live here\", 'visiting' for \"I'm visiting\". Never infer it from location, address or history; omit it when the shopper does not choose.",
      +  "enum": [
      +    "local",
      +    "visiting"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it names the required permission scope, discloses the return keys (ok, review_id, already_submitted), and explains the idempotent behavior concretely ('repeats return the original'), which gives real meaning to idempotentHint=true. It also discloses downstream visibility — residency and tags surface only in aggregate totals when enough reviews exist — which an agent could not infer from the destructive/openWorld hints.

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?

Front-loaded with the action and the verification precondition, then progressively narrower constraints. Dense but almost every clause carries information; the approval sentence sits slightly awkwardly between the return-value and idempotency sentences, breaking the logical flow a little.

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

Completeness5/5

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

For a write tool with no output schema and 5 parameters, it covers auth, eligibility, approval, idempotency, return keys, and the two optional params' constraints. Nothing an agent needs in order to call this correctly is missing.

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 40% schema coverage, the description carries real weight: it constrains residency and recommend_tags to explicit shopper choice, forbids inference, and caps tags at three. Gaps remain for booking_id (no hint that it must correspond to a verified completed checkout) and body (500-char limit is schema-only), so it compensates but not completely.

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 ('Publish a signed-in shopper's rating and review') plus the qualifying condition ('provider-verified completed Square checkout'). That scope wording clearly separates it from the read-only sibling list_verified_reviews without needing to name it.

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?

Preconditions are explicit: the caller needs the reviews:write scope, a verified completed checkout, and shopper approval of the exact public text. It also states the one-review-per-booking rule, which tells the agent when a repeat call is pointless. It stops short of naming alternatives (e.g. list_verified_reviews for reading), so not a full 5.

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