Skip to main content
Glama

Find similar listings

similar_listings
Read-only

Up to 5 listings of the same type that are most similar to the given one; useful for finding alternatives.

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": "similar_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesListing ID from search_listings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint/openWorldHint annotations already establish that this is a safe, closed-domain read. The description adds genuinely useful behavioral detail beyond that: a hard cap of 5 results and a same-type constraint. It does not disclose the basis of similarity, ordering, or what happens when fewer than 5 (or zero) matches exist.

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?

One compact sentence, result shape front-loaded ('Up to 5 listings of the same type'), followed by the purpose. No filler.

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 read tool with annotations covering safety and no output schema, the description covers what is returned and the key constraint. Only edge-case behavior (fewer than 5 results, empty result) is left implicit, which is minor.

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?

Single parameter with 100% schema coverage, so the schema already documents 'id' and its provenance ('Listing ID from search_listings'). The description's phrase 'the given one' adds nothing beyond that baseline.

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 gives a concrete verb-and-resource: it returns similar listings for the given listing, capped at 5 and constrained to the same type. It distinguishes itself from search_listings and get_listing implicitly by being a similarity-based lookup on a single ID, though it never names a sibling.

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?

'Useful for finding alternatives' implies the use case (substitution/comparison), but there is no explicit when-not guidance, no mention of exhausting results or falling back to search_listings if fewer than 5 come back.

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