Skip to main content
Glama

Similar deals

find_similar_deals
Read-onlyIdempotent

Online deals most like a given deal: the same kind of service and categories first, then the same region, a near place and a similar price. Use for alternatives (sold out, too dear, other dates), upsell and cross-sell.

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": {
      "id": "<id>"
    },
    "name": "find_similar_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe deal's id.
limitNoHow many (default 6).
same_regionNoOnly deals in the same region (or the same country abroad).

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 read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds genuinely new behavioral information: the multi-tier ranking order of results, which the annotations and schema do not express. It omits edge cases such as what happens when nothing similar exists.

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 tight sentences: the first front-loads the ranking model, the second front-loads the usage scenarios. No filler or restatement of the tool name.

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 read-only lookup with full schema coverage and no output schema, the description covers purpose, ranking, and use cases adequately. Minor gaps remain around empty results and whether the response includes the match criteria.

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%, so all three parameters are already documented inline. The description adds partial meaning by revealing that region is a ranking signal as well as an optional filter, but says nothing about limit or default behavior beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('deals most like a given deal') and spells out the similarity ranking (service/category, then region, place, price). An agent can tell this apart from a plain search_deals without opening the schema, though no sibling is named explicitly.

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 concrete when-to-use triggers: alternatives when the original is sold out, too expensive, or unavailable on other dates, plus upsell and cross-sell. No explicit when-not or named alternative tool to use instead, so it stops short of a 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.