Skip to main content
Glama

HamroLink Business OS MCP Server

commerce.list_promotions

Read-only

READ-ONLY check of existing product offers, flash-sale promotions, active prices, exact ISO start/end expiry timestamps, banner publish state, and countdown visibility.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "commerce.list_promotions"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoOptional store Site ID
siteNameNoOptional store name
productNameNoOptional product name filter
includeExpiredNoInclude expired or inactive promotions (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the leading "READ-ONLY" restates structured data. What does add value is disclosure of the returned content — ISO expiry timestamps, banner publish state, countdown visibility — but there is no mention of pagination, limits, auth requirements, or behavior when no promotions exist.

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?

A single sentence with the read-only trait front-loaded and zero filler. The back half is a dense field dump that reads like a return-type list, but since no output schema exists it earns its place rather than padding.

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?

With no output schema, the description usefully covers what is returned, which is the right compensation. But for a four-parameter listing tool it omits result ordering, pagination, and any hint of how siteId versus siteName scoping behaves, so an agent still guesses at invocation details.

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%, so all four parameters (siteId, siteName, productName, includeExpired) are already documented in the schema and the baseline is 3. The description adds no meaning beyond that — notably it never explains the interaction between includeExpired's default of true and the claim that it reports "existing" promotions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates the resource (product offers, flash-sale promotions, active prices) so the domain is clear, but the verb "check" is vague and never says this returns a list. It also does not distinguish the tool from siblings such as commerce.create_promotion or commerce.apply_offer_or_discount, leaving the agent to infer that this is the read path.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no when-not-to-use, and no named alternative. The agent gets no signal about whether to reach for this versus commerce.list_products or commerce.create_promotion, and no prerequisites (site scoping, permissions) are stated.

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.