Skip to main content
Glama

dollartree_products

Read-only

Get complete Dollar Tree product records for comma-separated product_ids returned by dollartree_search. This mirrors the storefront's list-valued productIds request; use dollartree_product for a single record.

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_ids": "<product_ids>"
    },
    "name": "dollartree_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idsYesRequired. Comma-separated Dollar Tree product repository ids 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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: this is a batch/list-valued lookup mirroring the storefront request, and its ids must come from dollartree_search. It does not discuss pagination or result-size limits, which keeps it from a 5.

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 sentences with no waste: the primary purpose and input format are front-loaded, followed immediately by the single-vs-batch routing rule. Every clause earns its place.

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?

For a one-parameter read-only lookup with an output schema and full annotation coverage, the description supplies everything an agent needs: what it returns, valid id provenance, the batch scope, and the single-record alternative. Nothing material is missing.

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 description coverage is 100% and the single parameter is already documented in the schema as comma-separated ids returned by dollartree_search. The description largely restates that, though 'list-valued productIds request' adds a small amount of semantic nuance about batching. With the schema doing the heavy lifting, baseline 3 is appropriate.

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 states a specific verb and resource ('Get complete Dollar Tree product records'), defines the input shape ('comma-separated product_ids'), and explicitly distinguishes itself from the sibling dollartree_product for single records. An agent can select between them without opening either 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?

It names the alternative tool ('use dollartree_product for a single record') and the condition that selects it, and it identifies the upstream source of valid ids ('returned by dollartree_search'). That is explicit routing guidance rather than implied usage.

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.