Skip to main content
Glama
pepabo

Color Me Shop

Official

updateSale

DestructiveIdempotent

Update order details after confirmation: correct shipping address, add notes, adjust fees, and change processing status. For specific payment methods, fee adjustments trigger automatic charge or refund.

Instructions

受注確定後の配送先訂正・メモ追記・処理状態遷移・手数料調整などに使います。sale_id で対象を特定、sale に渡したフィールドだけが置き換わります。決済が Amazon Pay / LINE Pay / 楽天ペイ(オンライン決済)の場合、熨斗・メッセージカード・ラッピング手数料の更新で決済金額が自動的に請求または返金されます(LINE Pay は減額のみ可)。受注のキャンセルは cancelSale、詳細は getSale、メール送信は sendSalesMail。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saleNo
sale_idYes
Behavior4/5

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

The description adds behavioral details beyond annotations: it explains that only specified fields are updated (partial update) and that updating noshi, message card, or wrapping fee may trigger automatic payment adjustments. Annotations already indicate destructive and idempotent behavior, so the description supplements well.

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 concise with three sentences, front-loading the main purpose, then specific behaviors, and finally alternative tools. Every sentence adds value without redundancy.

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 complex nested schema and multiple sibling tools, the description covers the primary use cases, important behaviors (auto-charge), and links to alternative tools. It lacks some detail on parameters like point_state or sale_deliveries, but provides sufficient context for an AI to decide when to use this tool.

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?

The description adds meaning to parameters: it explains that sale_id identifies the target and that only fields in the `sale` object are replaced. It specifically mentions that updating noshi, card, and wrapping fields can trigger auto-charge/refund. While the schema has descriptions for nested properties, the top-level parameters lack descriptions, but the description compensates well.

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 is for updating sale information after order confirmation, listing specific use cases like address correction, memo addition, status transition, and fee adjustment. It explicitly distinguishes from siblings by mentioning cancelSale for cancellation, getSale for details, and sendSalesMail for email.

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 provides explicit context: used after order confirmation, target identified via sale_id, and only passed fields are replaced. It warns about automatic charges for certain payment methods and gives clear alternatives for related tasks.

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/pepabo/colormeshop-mcp'

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