Skip to main content
Glama

Guardian Tools

compare_listings

Compare two or more listings side by side (Guardian Tools): name, home-store price, the price converted into one common currency (default USD, approximate at the dated rate table), home store, and stamp age — plus which is cheapest in the common currency. Comparison covers stated facts only; it is not a recommendation.

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": {
      "ids": "<ids>"
    },
    "name": "compare_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesListing ids to compare, e.g. ["hw-0001", "hw-0002"].
currencyNoCommon currency for the comparison: USD, CAD, EUR, or GBP. Default USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses important details: the common currency defaults to USD and uses an approximate dated rate table, and the result is factual rather than推荐-style. It does not explicitly state read-only behavior, permissions, or error handling, so some operational transparency is still missing.

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?

The description is front-loaded with the core action and resource, then efficiently lists the compared fields and the key caveat. Despite being dense, every clause contributes useful information with no redundant restatement of the 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?

The tool has moderate complexity and no output schema, so the description appropriately explains what fields are compared and what conclusion is returned. It covers the main caveat about factual comparison, though edge cases such as invalid IDs or mixed listing types are not addressed.

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?

Schema description coverage is 100%, so the parameters are already documented. The description still adds meaning by emphasizing that ids must cover two or more listings and that currency conversion is approximate at a dated rate table.

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?

The description states a specific verb and resource: "Compare two or more listings side by side." It then enumerates the compared fields and names the resulting cheapest item, making the tool's purpose concrete and distinguishable from single-listing lookup siblings.

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?

The description implies usage by saying it compares two or more listings and clarifies that the comparison "is not a recommendation." However, it does not explicitly say when to use this instead of get_listing or search_catalog, so alternative routing is left implicit.

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