Skip to main content
Glama

set_price

Idempotent

Update a product's price (and optional compare_price) in the authenticated store. Requires Bearer token. WRITE.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYesNew price in DZD.
product_idYesProduct id.
compare_priceNoOptional old/compare price.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false (write), idempotentHint=true, destructiveHint=false. Description adds 'Requires Bearer token' and reaffirms 'WRITE', but no new behavioral traits beyond annotations. For a mutation tool, this is adequate but not exceptional.

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 short sentences, front-loaded with the action verb. No redundancy or unnecessary words. Efficient and easy to parse.

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 simple 3-parameter tool with no output schema, the description covers the essential action, authentication, and write context. It does not mention return values or success confirmation, but given the tool's simplicity, this is a minor gap.

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% with clear descriptions for each parameter (e.g., 'New price in DZD.'). The description does not add meaning beyond the schema; it only mentions 'optional compare_price' which is already documented. 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?

Clearly states 'Update a product's price (and optional compare_price) in the authenticated store.' The verb 'Update' and resource 'product's price' are specific, and the scope is well-defined. No ambiguity.

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?

Provides authentication requirement ('Requires Bearer token') and hints at write operation ('WRITE'). However, no explicit guidance on when to use versus siblings or when not to use. Missing exclusions or alternative tool suggestions.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a specific function with clear boundaries. No two tools overlap in purpose.

Naming Consistency4/5

Most tools follow verb_noun pattern (e.g., create_product, delete_product), but some are noun_noun (cod_profit, order_risk) and 'publish' is a bare verb, causing minor inconsistency.

Tool Count5/5

12 tools cover product management, store creation, search, and analytics without being overwhelming. The count feels right for the domain.

Completeness2/5

Missing essential operations like listing products, reading product details, updating stores, or managing orders. Gaps hinder core workflows.

Resources