Skip to main content
Glama

Dropshipping Pricing & Content Rule Validator

dsers_rules_validate
Read-onlyIdempotent

Validate and normalize dropshipping rules for pricing, content, and images before product import. Check for errors, warnings, and see exactly which rules will be applied to ensure compatibility with your store.

Instructions

Check and normalize a rules object against the provider's capabilities before importing. Use this to verify pricing, content, and image rules are valid and see exactly which ones will be applied. Returns: effective_rules_snapshot (what will actually be applied), warnings (adjustments made), errors (blocking issues that must be fixed before calling dsers_product_import). Extreme pricing values (multiplier >100x, fixed_markup >$500, fixed_price >$10,000) produce warnings. HTML description fields are validated against script injection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rulesYesRules as a JSON string. Top-level keys: pricing, content, images, variant_overrides, option_edits. Pricing modes: fixed_price (exact dollar amount for all), multiplier (cost × ratio), fixed_markup (cost + dollars). Example: {"pricing": {"mode": "fixed_price", "fixed_price": 9.99}, "content": {"title_prefix": "[US] "}, "images": {"keep_first_n": 5}}
target_storeNoStore ID or display name from dsers_store_discover. Some rule capabilities vary by store.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering safety and idempotency. The description adds valuable behavioral context beyond annotations: it specifies validation outcomes (warnings for extreme pricing values, errors for blocking issues), security validation (HTML description fields against script injection), and normalization behavior ('normalize a rules object'). No contradictions with annotations exist.

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?

The description is efficiently structured with two sentences: the first states the core purpose and usage context, and the second details specific validation behaviors. Every sentence adds essential information without redundancy, and it's front-loaded with the primary function.

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?

Given the tool's complexity (validation with normalization and multiple rule types), annotations cover safety aspects well, but there's no output schema. The description compensates by detailing return components (effective_rules_snapshot, warnings, errors) and specific validation logic. However, it could be more complete by explicitly mentioning idempotency or providing examples of error formats.

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%, providing detailed documentation for both parameters. The description adds minimal parameter semantics beyond the schema: it implies the 'rules' parameter is validated against provider capabilities and mentions specific validation thresholds (e.g., multiplier >100x). However, it doesn't significantly enhance understanding of parameter usage beyond what the schema already covers.

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 clearly states the tool's purpose with specific verbs ('check and normalize', 'verify') and resources ('rules object', 'pricing, content, and image rules'). It distinguishes from siblings like dsers_product_import by focusing on validation rather than execution, and from dsers_product_update_rules by emphasizing pre-import checking.

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?

The description explicitly states when to use this tool ('before importing') and why ('to verify... are valid and see exactly which ones will be applied'). It names a specific alternative (dsers_product_import) for post-validation actions and indicates blocking issues must be fixed before calling that sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lofder/dsers-mcp-product'

If you have feedback or need assistance with the MCP directory API, please join our Discord server