Skip to main content
Glama

Plainly TOP

Compare offers

compare_offers
Read-onlyIdempotent

Compare two to four offers side by side using total price with delivery, delivery time, seller trust, and specifications. Returns a one-line verdict with the best overall offer.

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": {
      "offer_ids": "<offer_ids>"
    },
    "name": "compare_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
offer_idsYesTwo to four distinct ids returned by search_offers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world. The description adds the comparison dimensions and that the return is a one-line verdict naming the best overall offer, which is useful context beyond the annotations. It does not cover tie-breaking or error behavior, so 4 rather than 5.

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 sentences, front-loaded with the action and scope, then the return format. No filler; every clause contributes criteria or output information.

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

Completeness5/5

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

For a one-parameter read-only comparison tool with full schema coverage and safety annotations, the description supplies the missing pieces: evaluation criteria and return shape. No output schema is needed because the one-line verdict is described. Complete.

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 states 'Two to four distinct ids returned by search_offers.' The description restates the 2–4 range but adds no syntax or format meaning beyond the schema. Baseline 3 is appropriate.

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 ('Compare') and resource ('offers'), plus scope ('two to four') and comparison dimensions. It does not explicitly distinguish itself from siblings like search_offers or get_offer_details, so it is clear but lacks sibling routing.

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: compare multiple known offers side by side. The description does not state prerequisites (ids must come from search_offers) or when to use this versus search_offers or get_offer_details. Adequate but with clear gaps.

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