Skip to main content
Glama

dollartree_product

Read-only

Get one Dollar Tree product's detail fields and public SKU attributes by product_id. Use an id returned by dollartree_search.

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_product"
  }
}

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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds that the result includes detail fields and public SKU attributes, which is useful, but says nothing about behavior on an invalid or unknown product_id, rate limits, or authentication. An idempotentHint of false on a get-by-id read is unusual, but the description does not contradict it.

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, both earning their place: the first states what is returned and how it is keyed, the second states input provenance. It is front-loaded with no filler.

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?

For a one-parameter read with full schema coverage, an output schema, and annotations, the description covers the essential purpose and input source. The only meaningful omission is expected behavior when the product_id is invalid or not found.

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% for the single product_id parameter, so the schema already documents its meaning and required status. The description reinforces that the id must originate from dollartree_search, which is mildly additive but mostly restates the schema.

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?

The description gives a specific verb and resource ('Get one Dollar Tree product's detail fields and public SKU attributes') keyed by product_id, which is concrete enough to distinguish it from dollartree_search, which it names. It does not differentiate against other single-product-like siblings such as dollartree_price or dollartree_stock_status, so sibling separation is only partial.

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?

'Use an id returned by dollartree_search' tells the agent where the required input must come from and implies this is a follow-up call after searching. There is no explicit when-not guidance (e.g., use dollartree_products for bulk listings), but the usage context is clear.

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.