Skip to main content
Glama

Compare listings

compare_listings
Read-onlyIdempotent

Side-by-side price, trust, uptime, latency and real demand for 2–10 listings.

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
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered structurally. The description adds useful behavioral substance by disclosing what data is aggregated (price, trust, uptime, latency, real demand), which is valuable since there is no output schema. It does not address whether unavailable/offline listings are included, what happens with mixed listing types, or cost/latency of the call.

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?

A single dense sentence with zero filler, front-loading the compared dimensions and ending with the cardinality constraint. Nothing could be removed without losing information.

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

Completeness3/5

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

With no output schema and no annotation detail on results, the description does convey the dimensions returned, which is the most important missing piece. However, it does not describe the response shape (e.g., one record per listing with aligned fields), error behavior for unknown IDs, or ordering, leaving moderate gaps for a tool whose whole value is its output structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single required parameter at 0% schema description coverage, so the description must carry the semantic load. It only restates the cardinality constraint (2–10) that the schema already enforces via minItems/maxItems, and never says what the string IDs are, their format, or where to obtain them.

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 names the resource (listings) and enumerates the compared dimensions (price, trust, uptime, latency, real demand) with an explicit cardinality of 2–10, which is enough to distinguish it from single-listing lookups like get_listing. The verb 'compare' comes from the name/title rather than the description body, so it is slightly indirect but unambiguous in effect.

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?

'Side-by-side' and the 2–10 range imply the comparison scenario, so usage is inferable, but there is no explicit when-to-use statement, no named alternative (e.g., get_listing for a single record), and no prerequisites such as whether all IDs must be valid or from the same category. Guidance is implied only.

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