Skip to main content
Glama

ai_product_attributes

Read-only

Product attribute extraction (AI + offline checks) — Turns a product title/description (text=) into catalog attributes: brand, product type, model, color, size, material, pack count, weight, volume, dimensions, gender, age group, condition, features, compatibility, plus category path, a clean short title, search keywords and missing attributes. Every value is checked against the text offline (unsupported brand/model/size/quantity dropped); weight/volume units, pack counts and UPC/EAN/GTIN check digits are parsed without AI; listing quality score and tips. Optional category=, fields= (extra attribute names). Price: $0.008 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_product_attributes"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. Anker PowerCore 10000 Portable Charger, 2-Pack, Black, 180g, UPC 848061073799

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, and the description still adds substantial context beyond them: every value is verified offline against the text, unsupported brand/model/size/quantity are dropped, units/pack counts/check digits are parsed without AI, and a listing quality score with tips is returned. It also discloses a cost and payment mechanism ($0.008 USDC on Base via x402), which is real operational information an agent needs before calling.

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 core action is front-loaded in the first clause, and the long attribute enumeration, while dense, is the kind of content the agent actually needs to judge relevance. The single-sentence-with-semicolons structure is a bit heavy, and the price/payment note could sit in its own sentence, but nothing is purely 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?

There is no output schema, so the description carries the full burden of describing returns, and it does so thoroughly: attribute list, category path, clean title, search keywords, missing attributes, quality score and tips. The main completeness gap is the mismatch between the advertised 'category='/'fields=' parameters and the actual schema.

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?

With a single required parameter at 100% schema coverage, the schema already carries the parameter definition, so the baseline is 3. The description does add meaning by framing 'text' as product title/description, but it also advertises optional 'category=' and 'fields=' parameters that do not appear in the supplied input schema — a discrepancy that could lead an agent to pass arguments the schema does not document.

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 ('Product attribute extraction … turns a product title/description into catalog attributes') and then enumerates the exact outputs (brand, product type, model, color, size, material, weight, category path, short title, keywords). This is clearly distinguishable from a description-writing sibling like ai_product_description.

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 by the exhaustive output list — an agent can infer this is the tool for turning raw product text into structured catalog fields. However, there is no explicit when-to-use/when-not statement and no named alternative for cases where the agent only wants a rewritten description. The 'text=' and 'fields=' notes are parameter hints, not tool-selection guidance.

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