Skip to main content
Glama

enrich_product

Read-only

Extract comprehensive product data from a URL including name, price, brand, images, availability, and more. Uses schema.org structured data when available, with LLM fallback. Costs $0.02 per call (cached results are free). Each field carries verification metadata in _shopgraph: provenance (field_method — which source/tier produced it: schema_org, llm, or hybrid), freshness (field_freshness — recency + volatility_class, for volatile fields like price & availability), and abstain (a field is null when ShopGraph cannot verify it on the page). Rely on provenance, freshness, and the abstain signal to decide what to trust.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesProduct page URL to extract data from
formatNoOutput format. "ucp" returns UCP line_item format. Default: "default".default
force_refreshNoBypass cache entirely. Always triggers live extraction. Costs 3x credits.
include_scoreNoInclude agent-readiness score in response.
payment_method_idNoStripe payment method ID for MPP payment
minimum_confidenceNoAuto-refresh if any cached field's DECAYED confidence falls below this threshold. Costs 2x credits when refresh triggers, 0.25x on cache hit.
strict_confidence_thresholdNoFields below this confidence will be nulled with explanation. Default: off.

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint), the description discloses significant behavioral traits: LLM fallback, cost structure (including free cached results), cache bypass implications, and detailed metadata about provenance, freshness, and abstention. This far exceeds annotations and adds important trust-related context.

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 dense but well-structured: it front-loads the core purpose, then covers cost, metadata, and trust signals in separate clauses. It is longer than average, but every sentence contributes meaningful information, so it earns a 4 rather than a 3.

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?

With 7 parameters and no output schema, the description does a good job explaining the nature of the response (product fields plus _shopgraph metadata). However, it does not enumerate the complete set of returned fields or provide explicit output structure examples, leaving some ambiguity for an agent.

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 baseline is 3. The description adds value by explaining cost implications (e.g., free cache, 3x for force_refresh, 2x for minimum_confidence triggers) and the role of verification metadata, which helps agents reason about parameter trade-offs beyond schema descriptions.

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 it extracts comprehensive product data from a URL, listing specific fields (name, price, brand, images, availability). It distinguishes itself from siblings like enrich_basic by emphasizing comprehensiveness and the use of schema.org plus LLM fallback.

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?

The description provides strong contextual guidance: it mentions cost per call, caching behavior, and the methodology (schema.org with LLM fallback). However, it does not explicitly name alternatives or state when not to use this tool versus enrich_basic or enrich_html, so it falls short of a 5.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: enrich_basic vs enrich_product differ in scope and cost, enrich_html uses raw HTML input, and score_product returns a score. No ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (enrich_*, score_*), making it easy to infer functionality.

Tool Count5/5

With 4 tools, the set is well-scoped for product data enrichment and scoring, neither too sparse nor too bloated.

Completeness5/5

The tools cover basic extraction, comprehensive extraction, HTML-based extraction, and scoring, leaving no obvious gaps for the domain.

Resources