Skip to main content
Glama

dollartree_price

Read-only

Get current Dollar Tree price data for one product id: the overall list value, whether it is a range, and each SKU's list and sale price. Use product_id from dollartree_search or dollartree_product; choose this for pricing-only lookups and dollartree_product for the full product record. An unknown numeric id returns not found.

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": {
      "product_id": "<product_id>"
    },
    "name": "dollartree_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYesRequired. One Dollar Tree product repository id returned by dollartree_search.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly and openWorld, so the description adds the useful extras: the data is 'current' (a freshness/volatility signal consistent with idempotentHint=false), and an unknown numeric id returns not found rather than erroring. It stops short of disclosing pagination or whether missing prices are null versus omitted, but for a single-id lookup the disclosure is close to complete.

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?

Front-loaded with the returned data, then the id source, then the routing rule and the failure mode — no filler. Minor redundancy in repeating the id provenance that the schema field description already states.

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

Completeness5/5

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

Single-parameter read tool with full schema coverage, annotations, and an output schema, so return values need not be explained. The description covers purpose, id provenance, sibling routing, and the not-found case — everything needed to call it correctly.

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% with one required parameter, so the schema already carries the field meaning. The description still adds value by implying the id is numeric ('unknown numeric id') and by restating the valid upstream sources, which the schema only partially covers by naming dollartree_search alone.

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 ('Get current Dollar Tree price data for one product id') and enumerates the payload (overall list value, range flag, per-SKU list and sale price). It also names the sibling it is not, so an agent can separate it from dollartree_product and dollartree_search without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to source product_id from dollartree_search or dollartree_product, and gives a direct selection rule: this tool for pricing-only lookups, dollartree_product for the full record. It even states the failure behavior for an unknown numeric id, leaving nothing to inference.

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.