Skip to main content
Glama

Replio (restaurant reviews)

Find recurring complaints in restaurant reviews

find_complaint_patterns
Read-onlyIdempotent

Counts which complaint themes (such as wait time, order accuracy, food temperature, staff, cleanliness) recur across 20 to 200 food or drink reviews. Keyword rules, not a model; a count of mentions, not proof of a cause. The review text is not stored.

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": {
      "reviews": "<reviews>"
    },
    "name": "find_complaint_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
reviewsYesReview texts, one per item, 20 to 200 distinct reviews. Leave out names and contact details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, openWorldHint=false, idempotentHint), yet the description adds genuinely new behavior: keyword rules rather than a model, counts of mentions that are not proof of causation, and that review text is not stored. The only notable omission is what the returned counts look like and how themes are ordered.

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?

Three short sentences, front-loaded with the core action and scope, then method and interpretive caveat, then a data-handling note. Every clause carries distinct information and nothing is padded.

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 one-parameter, no-output-schema tool this covers scope, method, and interpretation limits well. It falls slightly short by not indicating the shape of the result (e.g., theme-to-count mapping), leaving the agent to guess the return format.

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 coverage is 100% and the single parameter already carries minItems/maxItems of 20-200 and the instruction to omit names and contact details. The description restates the 20-200 bound and the domain restriction but adds no formatting, deduplication, or per-item semantics beyond the schema.

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 (counts) and resource (complaint themes such as wait time, order accuracy, food temperature, staff, cleanliness) scoped to 20-200 food or drink reviews. No sibling tool (draft_review_reply, get_page, list_pages, quote_price, search_pages) does thematic aggregation over a review corpus, so the agent can place it unambiguously.

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

Usage Guidelines3/5

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

Usage is implied by the framing: batch of review texts in, theme counts out, restricted to food or drink reviews. There is no explicit statement of when to prefer this over other analysis routes, and no 'when not to use' guidance, so the agent must infer the calling context.

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