Skip to main content
Glama
UVU-Store

shopify-graphql-mcp

by UVU-Store

update_price_rule

Update an existing Shopify price rule by ID, adjusting title, start/end dates, usage limit, or once-per-customer restriction.

Instructions

Update an existing price rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPrice Rule ID
titleNoPrice rule title
endsAtNoEnd date/time (ISO format)
startsAtNoStart date/time (ISO format)
usageLimitNoTotal usage limit
oncePerCustomerNoLimit to one use per customer
Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It only says 'Update an existing price rule' without disclosing side effects, partial update behavior, idempotency, permissions, or what happens on failure. The mutation aspect is implied but no additional behavioral traits are revealed.

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 a single, front-loaded sentence that communicates the core purpose in six words. There is zero waste and it is appropriately sized for the tool's straightforward action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is insufficient. It does not explain whether the update is partial or full, whether missing fields are preserved, what the response contains, or any prerequisites like the price rule needing to exist. The schema covers parameters, but the overall context of the operation is incomplete.

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?

The input schema has 100% coverage, with descriptions for all six parameters including id, title, dates, usage limit, and once-per-customer flag. The description adds no extra meaning beyond what the schema already provides, so the baseline score of 3 applies.

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 action (update) and the resource (price rule), distinguishing it from create_price_rule and delete_price_rule by specifying 'existing'. This is a specific verb+resource that clearly conveys the tool's function.

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?

No guidance is provided on when to use this tool versus creating or deleting a price rule. The description only states what it does, leaving the agent to infer usage from the tool name and sibling context.

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/UVU-Store/shopify-graphql-mcp'

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