Skip to main content
Glama

Set floor and ceiling price of a tracked product

set_product_price_bounds
DestructiveIdempotent

Sets the floor price and/or the ceiling price of one tracked product, the bounds no recommended price ever crosses. Pass null to clear a bound. At least one of the two must be given; the floor cannot exceed the ceiling.

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": {
      "productId": "<productId>"
    },
    "name": "set_product_price_bounds"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYes
floorPriceNo
ceilingPriceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is covered. Beyond that, the description explains what passing null does (clears a bound) and constrains the value relationship (floor cannot exceed ceiling), which are meaningful behavioral details not visible in the schema or annotations.

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?

Three short sentences, front-loaded with purpose, then null-clearing behavior, then validation constraints. No filler and nothing repeated from the title.

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 three-parameter mutation with no output schema, the description covers intent, sentinel semantics, and cross-field validation, which is nearly everything needed to invoke it correctly. It stops short of describing effects on in-flight recommendations or expected return/failure behavior after the write.

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 description coverage is 0%, so the description carries the full burden; it defines what floorPrice and ceilingPrice mean semantically (bounds no recommended price ever crosses), signals that null is a valid sentinel for removal, and states the cross-field constraint. productId is left unannotated, and no numeric format or rounding guidance is offered.

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 opens with a specific verb and resource ("Sets the floor price and/or the ceiling price of one tracked product") and explains the business meaning of the bounds. It does not explicitly distinguish the tool from siblings like set_product_line_mode, which also mutate per-product pricing settings, so it falls short of a 5.

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?

When to use is implicit in the verb and resource; the description adds a validation rule (at least one of the two bounds is required) but gives no explicit exclusions or pointers to alternative tools. There is no statement about when a caller should prefer other pricing operations.

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.