Skip to main content
Glama

Compare All Offers

compare_all_offers
Read-onlyIdempotent

Full price comparison table across every active retail partner for one audiobook. Returns price + format + last-seen timestamp per partner — agents can rank or filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
work_slugYesWork slug (lowercase, hyphenated). Example: "to".
author_slugYesAuthor slug (lowercase, hyphenated). Example: "stephen-king".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / author_slug / description
      Added value: +"Author slug (lowercase, hyphenated). Example: \"stephen-king\"."
    • removedInput schema / properties / work_slug / $ref
      Removed value: -"#/properties/author_slug"
    • addedInput schema / properties / work_slug / description
      Added value: +"Work slug (lowercase, hyphenated). Example: \"to\"."
    • addedInput schema / properties / work_slug / maxLength
      Added value: +120
    • addedInput schema / properties / work_slug / minLength
      Added value: +1
    • addedInput schema / properties / work_slug / pattern
      Added value: +"^[a-z0-9]+(-[a-z0-9]+)*$"
    • addedInput schema / properties / work_slug / type
      Added value: +"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "value": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "format": {
      +            "type": "string"
      +          },
      +          "last_seen": {
      +            "type": "string"
      +          },
      +          "original_price_czk": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "partner": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "name": {
      +                "type": "string"
      +              },
      +              "slug": {
      +                "maxLength": 120,
      +                "minLength": 1,
      +                "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "slug",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "price_czk": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "partner",
      +          "price_czk",
      +          "original_price_czk",
      +          "format",
      +          "url",
      +          "last_seen"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "value"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the tool is safe. The description adds value by specifying the return data (price, format, last-seen timestamp) and scope (one audiobook, all partners). No contradictions with annotations.

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 concise sentences with front-loaded purpose. No unnecessary words. Every sentence adds value.

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?

Given the presence of an output schema and annotations, the description adequately covers the tool's behavior. It could mention pagination or data structure, but the output schema likely handles that.

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 coverage is 100% with descriptions for both parameters. The description adds context beyond the schema by stating the tool returns data per retail partner, which is not evident from the parameter descriptions alone.

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 clearly states the verb ('compare', 'returns') and resource ('full price comparison table across every active retail partner for one audiobook'). It distinguishes itself from sibling tools like 'find_cheapest_offer' which likely returns only the cheapest price.

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 for obtaining a comprehensive price comparison per partner, but does not explicitly state when to use this tool versus alternatives like 'find_cheapest_offer' or 'get_price_index'. No when-not or alternative tool names are mentioned.

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