Skip to main content
Glama

add_item

Save a page as an item: a static snapshot, nothing is monitored afterwards. Send only values present on the page; price is optional (omit for videos and free content); og:image is fetched when image is omitted. Example: url, title="Sony WH-1000XM5", price=349, currency="NZD", platform="noelleeming".

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": {
      "url": "<url>",
      "title": "<title>",
      "platform": "<platform>"
    },
    "name": "add_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic page URL
tagsNoTags
imageNoMain image URL
priceNoPrice as a number, e.g. 99.99; omit if the page has none
titleYesTitle as shown on the page
imagesNoAll image URLs
reasonNoWhy, for the change history
categoryNoBest-matching category
currencyNoCurrency code: USD, NZD, EUR…
locationNoSeller or pickup location
platformYesSite name without TLD: amazon.com → "amazon"
quantityNoQuantity wanted
conditionNoNew, Used, Refurbished, Used - Like New…
item_typeNoproduct, rental (Airbnb), service, course, listing (classified), event (ticket), video, other; inferred from the site when omitted
posted_atNoListing date, ISO 8601
attributesNoSpecs as key/value
descriptionNoPage description
seller_nameNoSeller or store
seller_ratingNoSeller rating 0–5
original_priceNoPre-discount price
seller_reviewsNoSeller review count

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • changedInput schema / properties / attributes / description
      Previous value: -"Specs/details as key-value pairs"New value: +"Specs as key/value"
    • changedInput schema / properties / category / description
      Previous value: -"Category — pick the best match"New value: +"Best-matching category"
    • changedInput schema / properties / condition / description
      Previous value: -"Condition if applicable: New, Used, Refurbished, Used - Like New, Used - Good, Used - Fair"New value: +"New, Used, Refurbished, Used - Like New…"
    • changedInput schema / properties / currency / description
      Previous value: -"Currency code of the price: USD, NZD, AUD, EUR, GBP, etc. Omit when there is no price."New value: +"Currency code: USD, NZD, EUR…"
    • changedInput schema / properties / description / description
      Previous value: -"Description from the page (max 2000 chars)"New value: +"Page description"
    • changedInput schema / properties / image / description
      Previous value: -"Main image URL. Server auto-fetches og:image if not provided."New value: +"Main image URL"
    • changedInput schema / properties / images / description
      Previous value: -"All image URLs found on the page"New value: +"All image URLs"
    • addedInput schema / properties / images / maxItems
      Added value: +10
    • changedInput schema / properties / item_type / description
      Previous value: -"What kind of item: product (buy), rental (Airbnb), service (cleaning), course (Udemy), listing (classified), event (ticket), video (YouTube, Twitch, TikTok, Vimeo…). If omitted, the server infers it from the platform (video sites → video, otherwise product)."New value: +"product, rental (Airbnb), service, course, listing (classified), event (ticket), video, other; inferred from the site when omitted"
    • changedInput schema / properties / location / description
      Previous value: -"Seller location or pickup location"New value: +"Seller or pickup location"
    • changedInput schema / properties / original_price / description
      Previous value: -"Original price before discount (if on sale)"New value: +"Pre-discount price"
    • changedInput schema / properties / platform / description
      Previous value: -"Site domain name without TLD: amazon.com→\"amazon\", ebay.co.nz→\"ebay\", kiwiquads.co.nz→\"kiwiquads\""New value: +"Site name without TLD: amazon.com → \"amazon\""
    • changedInput schema / properties / posted_at / description
      Previous value: -"When the listing was originally posted (ISO 8601)"New value: +"Listing date, ISO 8601"
    • changedInput schema / properties / price / description
      Previous value: -"Price as a number (e.g. 99.99), taken from the page. Omit when the item has no price (videos, free content)."New value: +"Price as a number, e.g. 99.99; omit if the page has none"
    • changedInput schema / properties / quantity / description
      Previous value: -"How many of this item"New value: +"Quantity wanted"
    • changedInput schema / properties / reason / description
      Previous value: -"Why this change was made (shown to user in change history)"New value: +"Why, for the change history"
    • changedInput schema / properties / seller_name / description
      Previous value: -"Seller or store name"New value: +"Seller or store"
    • changedInput schema / properties / seller_rating / description
      Previous value: -"Seller rating 0-5"New value: +"Seller rating 0–5"
    • changedInput schema / properties / seller_reviews / description
      Previous value: -"Number of seller reviews"New value: +"Seller review count"
    • changedInput schema / properties / tags / description
      Previous value: -"Tags for categorization"New value: +"Tags"
    • addedInput schema / properties / tags / maxItems
      Added value: +50
    • changedInput schema / properties / title / description
      Previous value: -"Exact title from the page"New value: +"Title as shown on the page"
    • changedInput schema / properties / url / description
      Previous value: -"Direct public HTTP(S) page URL."New value: +"Public page URL"
  2. Changed5 schema fields changed
    • changedInput schema / properties / currency / description
      Previous value: -"Currency code: USD, NZD, AUD, EUR, GBP, etc."New value: +"Currency code of the price: USD, NZD, AUD, EUR, GBP, etc. Omit when there is no price."
    • changedInput schema / properties / item_type / description
      Previous value: -"What kind of item: product (buy), rental (Airbnb), service (cleaning), course (Udemy), listing (classified), event (ticket). Default: product."New value: +"What kind of item: product (buy), rental (Airbnb), service (cleaning), course (Udemy), listing (classified), event (ticket), video (YouTube, Twitch, TikTok, Vimeo…). If omitted, the server infers it from the platform (video sites → video, otherwise product)."
    • changedInput schema / properties / item_type / enum
      Previous value: -[
      -  "product",
      -  "rental",
      -  "service",
      -  "course",
      -  "listing",
      -  "event",
      -  "other"
      -]New value: +[
      +  "product",
      +  "rental",
      +  "service",
      +  "course",
      +  "listing",
      +  "event",
      +  "video",
      +  "other"
      +]
    • changedInput schema / properties / price / description
      Previous value: -"Price as number (e.g. 99.99) — REQUIRED, extract from page"New value: +"Price as a number (e.g. 99.99), taken from the page. Omit when the item has no price (videos, free content)."
    • changedInput schema / required
      Previous value: -[
      -  "url",
      -  "title",
      -  "price",
      -  "currency",
      -  "platform"
      -]New value: +[
      +  "url",
      +  "title",
      +  "platform"
      +]
  3. Changed10 schema fields changed
    • addedInput schema / properties / attributes / additionalProperties
      Added value: +{
      +  "oneOf": [
      +    {
      +      "maxLength": 500,
      +      "type": "string"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "boolean"
      +    }
      +  ]
      +}
    • addedInput schema / properties / image / format
      Added value: +"uri"
    • addedInput schema / properties / image / maxLength
      Added value: +2000
    • changedInput schema / properties / image / type
      Previous value: -"object"New value: +"string"
    • addedInput schema / properties / images / items / format
      Added value: +"uri"
    • addedInput schema / properties / images / items / maxLength
      Added value: +2000
    • changedInput schema / properties / images / items / type
      Previous value: -"object"New value: +"string"
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / url / maxLength
      Added value: +2000
    • changedInput schema / properties / url / type
      Previous value: -"object"New value: +"string"
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the mutation and open-world profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false). The description goes beyond them by disclosing server-side behaviour an agent could not infer: the item is a static snapshot, nothing is monitored afterwards, and og:image is auto-fetched when image is omitted. It does not address duplicate handling, which matters given idempotentHint=false.

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?

Three short sentences, front-loaded with the snapshot/no-monitoring distinction, followed by payload guidance and a single illustrative example. No filler or duplicated schema text.

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 21-parameter, nested-object mutation with no output schema, the description covers the essentials agents get wrong: what to send, what to omit, and defaulted fields. It is slightly thin on what comes back (no item id mentioned) and on duplicate behaviour, but the schema carries the bulk of field-level detail.

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 description coverage is 100%, so the 3 baseline is already met by structured fields. The description nevertheless adds real meaning: price is optional and should be omitted for videos/free content, image has an automatic fallback, and the worked example shows the intended shape of url/title/price/currency/platform together.

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?

"Save a page as an item: a static snapshot, nothing is monitored afterwards" gives a specific verb plus resource and immediately contrasts with the monitoring behaviour that siblings like update_price perform. An agent can distinguish add_item from update_item/add_to_collection without opening a schema.

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?

"Send only values present on the page" and "price is optional (omit for videos and free content)" give clear usage constraints for building the payload. However, it never names an alternative sibling (e.g. add_to_collection, update_item) or states when not to use this tool, so routing guidance is inferred rather than explicit.

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