Skip to main content
Glama

calculate_market_value

Compute mean, median, and 25th-75th percentile pricing for a product from eBay sold transactions to assess market value and price range.

Instructions

Compute statistical pricing distribution (mean, median, 25th-75th percentile) for a product based on sold transactions.

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": {
      "keyword": "<keyword>"
    },
    "name": "calculate_market_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYesProduct to evaluate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It helpfully discloses the output shape (mean, median, IQR) and the data source (sold transactions), but says nothing about data-freshness requirements, minimum transaction volume, behavior when no sales match the keyword, or whether the keyword match is strict or fuzzy.

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?

A single well-formed sentence with the core action and the statistic set front-loaded; no filler, redundancy, or buried qualifications.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple one-parameter tool with no annotations and no output schema, so the description must carry the behavioral weight. Listing the returned statistics partly compensates for the absent output schema, but the lack of any note on insufficient-data behavior or result reliability leaves a real gap.

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 parameter at 100% schema description coverage, the schema already defines 'keyword' as 'Product to evaluate.' The description's phrase 'for a product' merely restates that and adds no guidance on match semantics, phrasing, or ambiguity handling.

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?

Uses a specific verb ('Compute') with a concrete resource ('statistical pricing distribution') and names the statistic set (mean, median, 25th-75th percentile) plus the data basis (sold transactions). The mention of 'sold transactions' implicitly separates it from sibling tools dealing with active listings, though it never names those siblings.

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: the phrase 'based on sold transactions' tells an agent this is for historical-sales valuation rather than active-listing browsing or comparison, but there is no explicit when-to-use, when-not-to-use, or alternative routing to 'compare_active_vs_sold' or 'search_sold_items'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.