Skip to main content
Glama

Competitor pricing (1 credit)

get_competitor_price
Read-onlyIdempotent

Price statistics (min/max/avg/median) plus recent product samples for a brand, optionally filtered by product-name query. Freshness-stamped. 1 credit; no data = no charge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoSample size, default 10
queryNoOptional product-name filter, e.g. "leggings"
domainYeseCommerce domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds useful context beyond that: responses are freshness-stamped, the request costs 1 credit, and a no-result call is not charged. This goes beyond what annotations convey.

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?

Two short sentences convey output contents, filtering, freshness, credit cost, and refund behavior. No filler or repetition; the most actionable information is front-loaded.

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 reasonably covers return content (statistics plus samples) and the freshness dimension. It does not mention ordering or sample limits, but the provided context plus schema is sufficient for typical use.

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?

The input schema documents all parameters with 100% coverage, so the baseline is 3. The description reinforces query as product-name filtering and domain as brand context, but does not introduce significant new parameter-level meaning.

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 names a specific, well-scoped function: retrieving price statistics (min/max/avg/median) and recent product samples for a brand, with an optional product-name filter. This makes the tool's purpose clear and distinguishable from siblings like get_competitor_top_urls or get_brand_snapshot.

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 clear context for when this tool is relevant — pricing data for a brand, optionally narrowed by product name. It does not explicitly compare against sibling tools, but the domain is specific enough that an agent can infer appropriate use.

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