Skip to main content
Glama
pepabo

Color Me Shop

Official

getSales

Read-onlyIdempotent

Retrieve order data with filters for date, customer, payment, delivery, and email state. Limit and paginate results.

Instructions

受注データを一覧取得します。パラメータ未指定で直近 1 週間分、期間指定は受注日または更新日のいずれかで可能。購入者(顧客 ID・氏名・メール)による絞り込み、入金/配送/キャンセル状態での絞り込み、各種メール送信状態による絞り込みが可能(具体的なパラメータと指定方法はスキーマを参照)。limit(最大 100、デフォルト 10)/ offset でページング、fields でレスポンスキー絞り込み。特定受注は getSale、売上集計は statSale、更新系は updateSale / cancelSale / sendSalesMail。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo受注IDで検索。カンマ区切りで複数指定可能
paidNo`true`なら入金済みの受注のみ取得
afterNo指定日時以降の受注から検索。 `after` 未指定時は `before` の指定日時の7日前の0時、 `before` 未指定時は現在から7日前の0時がデフォルト値となります。
limitNoレスポンスの件数を指定。指定がない場合は10。最大100
beforeNo指定日時以前の受注から検索
fieldsNoレスポンスJSONのキーをカンマ区切りで指定
mobileNo`true`なら携帯からの受注のみ取得
offsetNo指定した数値+1件目以降のデータを返す
canceledNo`true`ならキャンセル済みの受注のみ取得
deliveredNo`true`なら配送済みの受注のみ取得
payment_idsNo使用された決済のIDで検索。カンマ区切りで複数指定可能
customer_idsNo購入した顧客IDで検索。カンマ区切りにすることで複数検索が可能
customer_mailNo購入した顧客メールアドレスで部分一致検索
customer_nameNo購入した顧客名で部分一致検索
make_date_maxNo`before`と同義
make_date_minNo`after`と同義
paid_mail_stateNo入金メールの送信状態で検索 - `not_yet`: 未送信 - `sent`: 送信済み - `pass`: 送信しない
update_date_maxNo指定日時以前に更新された受注から検索
update_date_minNo指定日時以降に更新された受注から検索
customer_furiganaNo購入した顧客フリガナがで部分一致検索
accepted_mail_stateNo受注メールの送信状態で検索 - `not_yet`: 未送信 - `sent`: 送信済み - `pass`: 送信しない
delivered_mail_stateNo配送メールの送信状態で検索 - `not_yet`: 未送信 - `sent`: 送信済み - `pass`: 送信しない
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds context: default time range (1 week), pagination limits (max 100, default 10), and various filtering capabilities. This provides additional behavioral detail beyond 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?

The description is concise (three sentences) yet packs all key information: purpose, default behavior, filter types, pagination, and sibling references. It is well-structured, front-loading the core function and efficiently covering details 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 complexity (22 parameters, multiple filters), the description covers the main use cases, default behavior, and relationships to other tools. It lacks output structure details, but as a list operation with readOnlyHint, this is acceptable. Overall, it provides sufficient context for effective tool selection and usage.

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 100%, so each parameter is documented. The description groups filters (customer, status, email state) and mentions pagination and fields selection, adding high-level context. However, it doesn't provide details not already in schema; it references the schema for specifics.

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 retrieves a list of order data (受注データを一覧取得), specifies default behavior (last week if no params), and distinguishes from siblings like getSale (specific order), statSale (aggregation), and update tools. This provides excellent clarity.

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 outlines when to use this tool (listing orders) and provides alternatives: getSale for a specific order, statSale for sales totals, updateSale/cancelSale/sendSalesMail for modifications. It also explains default date ranges and filtering options, offering comprehensive usage guidance.

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