Skip to main content
Glama

E-commerce brand/category/store snapshot ($0.05)

ecom_snapshot
Read-only

PAID $0.05 USDC. For a store domain, brand or category: product and variant counts, in-stock %, avg/median/min/max price, share on sale, top product types and brands, deepest live discounts, newest products, 7-day change counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ecom_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNo
domainNo
api_keyNoOptional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment'].
categoryNoapparel, beauty, electronics, supplements, home, outdoor, jewelry, pets, toys

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, and the description adds the critical non-annotation trait: this is a paid call at $0.05 USDC. It does not cover result size, latency, or failure behavior for an unset selector, but the pricing disclosure is the highest-value behavioral fact for this tool.

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 with the cost front-loaded and the metric list following immediately. Dense but well ordered, with no filler; the only cost is that the metric run-on trades readability for brevity.

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 no output schema, the description correctly enumerates the returned fields, which is the main gap it must fill. For a 4-parameter read-only snapshot tool, the remaining omissions — selector precedence and response shape/size — are minor rather than blocking.

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?

Schema coverage is 50% — api_key and category are documented in-schema, while brand and domain have no descriptions. The description compensates partially by framing domain/brand/category as alternative selector inputs, but it never clarifies whether they are mutually exclusive, combinable, or what the default universe is when all are omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb+resource: a precomputed snapshot for a store domain, brand, or category, enumerating exactly which metrics come back (product/variant counts, in-stock %, price stats, discount depth, 7-day change counts). It does not name or contrast with nearby siblings such as ecom_product, ecom_changes, or ecom_catalog, so an agent must infer the boundary itself.

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 only implied: use this when you want an aggregate rollup rather than a single product lookup, and pass a domain/brand/category. There is no explicit when-not guidance, no mention of the free_ecom alternative, and no statement about what happens when no selector is supplied despite required=[].

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.