Skip to main content
Glama

Get one product in full

get_product
Read-onlyIdempotent

One product in full: form, strength, strain, brand, terpenes, contents, leaflets, FAQs and its price range when published. Never stock. Example: {"slug":"pink-kush-t22"}

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": {
      "slug": "<slug>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProduct page slug.

Output Schema

NameRequiredDescriptionDefault
cbdYes
thcYes
urlYes
faqsYes
formYesDose form as the page labels it, e.g. "Dried flower"
nameYes
slugYes
brandYes
imageYes
dosageYes
strainYes
storageYes
categoryYes
terpenesYes
withheldYes
allergensYes
chemotypeYesTHC-dominant, CBD-dominant or balanced, from the cannabinoid figures
documentsYes
carrierOilYes
priceRangeYesLowest to highest current price across UK pharmacies, naming none; null when not published
descriptionYes
capsuleShellYes
discontinuedYes
oilFlowerEquivalenceYes
descriptionAiAssistedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / capsuleShell / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / capsuleShell / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / carrierOil / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / carrierOil / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / cbd / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / cbd / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / description / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / dosage / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / dosage / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / oilFlowerEquivalence / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / oilFlowerEquivalence / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / storage / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / storage / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / strain / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "genetics": {
      -        "$ref": "#/properties/brand"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "anyOf": [
      -          {
      -            "format": "uri",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "genetics",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "genetics": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "anyOf": [
      +          {
      +            "format": "uri",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "genetics",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / thc / $ref
      Removed value: -"#/properties/brand"
    • addedOutput schema / properties / thc / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"The product page slug from find_products or search_directory, e.g. \"demo-kush-t20-c1\"."New value: +"Product page slug."
  3. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"The product page slug from find_products or search_findabis, e.g. \"demo-kush-t20-c1\"."New value: +"The product page slug from find_products or search_directory, e.g. \"demo-kush-t20-c1\"."
  4. Changed3 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"The product page slug, e.g. \"demo-kush-t20-c1\"."New value: +"The product page slug from find_products or search_findabis, e.g. \"demo-kush-t20-c1\"."
    • addedInput schema / properties / slug / maxLength
      Added value: +200
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "allergens": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "brand": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "capsuleShell": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "carrierOil": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "category": {
      +      "type": "string"
      +    },
      +    "cbd": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "chemotype": {
      +      "description": "THC-dominant, CBD-dominant or balanced, from the cannabinoid figures",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "description": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "descriptionAiAssisted": {
      +      "type": "boolean"
      +    },
      +    "discontinued": {
      +      "type": "boolean"
      +    },
      +    "documents": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "anyOf": [
      +              {
      +                "format": "uri",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "kind",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "dosage": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "faqs": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aiAssisted": {
      +            "type": "boolean"
      +          },
      +          "answer": {
      +            "type": "string"
      +          },
      +          "question": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "question",
      +          "answer",
      +          "aiAssisted"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "form": {
      +      "description": "Dose form as the page labels it, e.g. \"Dried flower\"",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "image": {
      +      "anyOf": [
      +        {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "oilFlowerEquivalence": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "priceRange": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "currency": {
      +              "type": "string"
      +            },
      +            "max": {
      +              "type": "number"
      +            },
      +            "min": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "min",
      +            "max",
      +            "currency"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Lowest to highest current price across UK pharmacies, naming none; null when not published"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "storage": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "strain": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "genetics": {
      +              "$ref": "#/properties/brand"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "anyOf": [
      +                {
      +                  "format": "uri",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "genetics",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "terpenes": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "percent": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "percent"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "thc": {
      +      "$ref": "#/properties/brand"
      +    },
      +    "url": {
      +      "anyOf": [
      +        {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "withheld": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "slug",
      +    "url",
      +    "category",
      +    "form",
      +    "brand",
      +    "thc",
      +    "cbd",
      +    "chemotype",
      +    "discontinued",
      +    "strain",
      +    "terpenes",
      +    "carrierOil",
      +    "allergens",
      +    "capsuleShell",
      +    "priceRange",
      +    "oilFlowerEquivalence",
      +    "description",
      +    "descriptionAiAssisted",
      +    "dosage",
      +    "storage",
      +    "image",
      +    "documents",
      +    "faqs",
      +    "withheld"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, not open-world), so the description only needs to add context — and it does: it discloses that price range appears only 'when published' and that stock data is never returned. It does not describe not-found behavior or any rate/auth considerations, keeping it just below the top mark.

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?

Two compact sentences front-load the return scope and the scope exclusion, with the example last. The long field enumeration partly duplicates the existing output schema, so it is slightly over-specified, but nothing is filler.

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?

For a single-parameter lookup with an output schema and full annotation coverage, the description supplies the remaining context an agent needs: what is returned, what is not, and a slug example. Only failure semantics for an unknown slug are left unaddressed.

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%, so the parameter is already documented as a 'Product page slug'. The inline example {"slug":"pink-kush-t22"} adds concrete format guidance (lowercase kebab-case identifier) that the schema does not convey, which is real value above the baseline.

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?

States a specific verb and resource ('One product in full') and immediately enumerates the fields returned (form, strength, strain, brand, terpenes, contents, leaflets, FAQs, price range), which distinguishes it from the find_* search siblings. The scope exclusion 'Never stock' further sharpens the boundary of what this single-record fetch covers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'One product in full' plus the excluded field set makes clear this is the detail fetch, implicitly the follow-up to a product search. It does not explicitly name find_products or any alternative, so routing is inferred rather than spelled out, but the context is unambiguous.

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.