Skip to main content
Glama

AirShelf Catalog

Get product details

get_product
Read-only

Get the full golden record (AirShelf's verified product record) and latest price for one catalog product by slug ("-").

Returns the product's specs and provenance (which page each fact came from), plus canonical_name (its exact catalog name). A field's evidence_sha256 is the SHA-256 of the source document AirShelf archived when it extracted that claim. A caller holding the same bytes can compare the hash to check that the cited document has not changed. AirShelf does not serve those archived bytes, and the hash does not promise they remain retrievable. Branch on commercial_data.actionable before using price or stock: observations older than 24 hours are withheld from latestPrice and retained only as labelled last_observed history. For quote-gated B2B pricing, a null price with a quote path is expected rather than an error. In clients that render MCP Apps the response also draws one product card per call. related_products — relationships extracted from vendor documents (e.g. compatible toner or drum accessories with their source quotes, functional equivalents, supersessions); each entry names the related catalog slug, the relation type, its direction (direction is "from_this" when the relation reads this-product → related-product, "to_this" when it reads related-product → this-product), and the source URL and quote the relation was extracted from.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesComposite slug, e.g. toshiba-b-ex4t1-ts12-qm-r

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
actionYes
buyUrlNo
productNo
benefitsNo
imageUrlNo
productIdYes
buttonLabelYes
pricing_gatedNo
related_productsNoDocumented related catalog products, including accessories, equivalents and replacements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / product / properties
      Added value: +{
      +  "cited_field_count": {
      +    "description": "Number of golden-record fields with claim-level citations.",
      +    "type": "number"
      +  },
      +  "field_count": {
      +    "description": "Total golden-record fields used as the evidence coverage denominator.",
      +    "type": "number"
      +  },
      +  "latestPrice": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": {},
      +        "properties": {
      +          "capturedAt": {
      +            "type": "string"
      +          },
      +          "currency": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "inStock": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "price": {
      +            "type": "number"
      +          },
      +          "retailer": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "price",
      +          "currency",
      +          "retailer",
      +          "inStock",
      +          "capturedAt"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Latest valid price observation within 24 hours. Null when absent or stale; stale history remains in commercial_data.last_observed."
      +  },
      +  "lifecycle_status": {
      +    "description": "Retirement marker from stored product evidence. current means no retirement marker was found.",
      +    "enum": [
      +      "current",
      +      "retired"
      +    ],
      +    "type": "string"
      +  },
      +  "pdfFilenames": {
      +    "description": "Stored source PDF filenames. A filename is not a download URL.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "qualityScore": {
      +    "description": "Percentage of golden-record fields with claim-level citations. Zero when there are no fields.",
      +    "type": "number"
      +  },
      +  "related_products": {
      +    "description": "Documented related catalog products, including accessories, equivalents and replacements.",
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "direction": {
      +          "description": "from_this means this product points to the related product; to_this means the reverse.",
      +          "enum": [
      +            "from_this",
      +            "to_this"
      +          ],
      +          "type": "string"
      +        },
      +        "relation": {
      +          "description": "Relationship type recorded from vendor documents.",
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Stored source URL, quote, section or page for the relationship; null when none was recorded."
      +        }
      +      },
      +      "required": [
      +        "slug",
      +        "relation",
      +        "direction"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "sources": {
      +    "anyOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Stored source type, such as pdf or product_page."
      +                    },
      +                    "url": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Source document or product-page URL when recorded."
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "string"
      +                }
      +              ]
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Stored evidence sources. Imports may preserve a source object, use ref instead of url, or list plain strings. Null when unavailable."
      +  },
      +  "updatedAt": {
      +    "description": "Catalog row update time as an ISO 8601 timestamp, not a per-claim verification time.",
      +    "type": "string"
      +  }
      +}
    • removedOutput schema / properties / product / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / related_products / description
      Added value: +"Documented related catalog products, including accessories, equivalents and replacements."
    • addedOutput schema / properties / related_products / items / properties
      Added value: +{
      +  "direction": {
      +    "description": "from_this means this product points to the related product; to_this means the reverse.",
      +    "enum": [
      +      "from_this",
      +      "to_this"
      +    ],
      +    "type": "string"
      +  },
      +  "relation": {
      +    "description": "Relationship type recorded from vendor documents.",
      +    "type": "string"
      +  },
      +  "slug": {
      +    "type": "string"
      +  },
      +  "source": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Stored source URL, quote, section or page for the relationship; null when none was recorded."
      +  }
      +}
    • removedOutput schema / properties / related_products / items / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / related_products / items / required
      Added value: +[
      +  "slug",
      +  "relation",
      +  "direction"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"Composite slug, e.g. keychron-q1-pro"New value: +"Composite slug, e.g. toshiba-b-ex4t1-ts12-qm-r"
  3. Changed1 schema field changed
    • addedOutput schema / properties / related_products
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / slug / minLength
      Added value: +1
  5. Changed1 schema field changed
    • addedOutput schema / properties / pricing_gated
      Added value: +{
      +  "type": "boolean"
      +}
  6. Changed2 schema fields changed
    • addedOutput schema / properties / benefits
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / product
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "action": {
      +      "enum": [
      +        "quote",
      +        "link"
      +      ],
      +      "type": "string"
      +    },
      +    "buttonLabel": {
      +      "type": "string"
      +    },
      +    "buyUrl": {
      +      "type": "string"
      +    },
      +    "imageUrl": {
      +      "type": "string"
      +    },
      +    "productId": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "productId",
      +    "buttonLabel",
      +    "action"
      +  ],
      +  "type": "object"
      +}
  8. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark this as read-only, and the description goes well beyond them: it explains evidence_sha256 semantics, that AirShelf does not serve archived bytes, the commercial_data.actionable gate for price/stock, the expected null price for quote-gated B2B pricing, and related_products direction semantics. These are non-obvious behaviors an agent needs to interpret results correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but well-structured: core purpose, return semantics, pricing caveats, and related_products are presented in logical order. Every sentence adds a distinct behavioral or interpretational point, though some sentences are dense and could be tightened.

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?

The description covers all essential behavioral caveats an agent needs: evidence hashes, source document availability, price actionability, quote-gated pricing, product card rendering, and relation direction. With an output schema present and annotations covering the safety profile, nothing critical is missing.

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?

The schema already documents slug with an example, and the description adds the composite format '<manufacturer>-<model>', which is useful semantic detail. With 100% schema coverage, the baseline is 3; the description's format clarification pushes it to 4.

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 opens with a specific verb and resource: 'Get the full golden record ... and latest price for one catalog product by slug.' It clearly distinguishes this single-product lookup from sibling search/compare tools by emphasizing 'one catalog product' and the slug-based access pattern.

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 strongly implies use when the caller already has a product slug and needs the verified record, but it never explicitly names alternatives like search_catalog, find_products, or compare_products, nor does it state when not to use this tool. The usage context is clear but not contrasted with siblings.

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