Skip to main content
Glama
pepabo

Color Me Shop

Official

getSales

Read-onlyIdempotent

Retrieve order records with customizable filters: by date range, customer ID/name/email, payment, delivery, cancellation, and email status. Supports pagination and field selection for targeted data extraction.

Instructions

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

Input Schema

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

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

Annotations already mark it as read-only, non-destructive, idempotent, and open-world. Description supplements with concrete behavioral details: default time range, filter capabilities, and pagination behavior. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is moderately concise, packing many details into three sentences. It front-loads the main purpose and uses references to schema and siblings. Slightly dense but clear.

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 params, no output schema), the description covers defaults, filters, pagination, and alternative tools. It lacks explicit mention of return format but compensates with field selection and sibling references.

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?

Input schema covers all 22 parameters with descriptions (100% coverage). Description adds a high-level grouping of parameters but relies on schema for specifics. Baseline 3 is appropriate given full schema coverage.

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?

Description clearly states it retrieves a list of sales orders (受注データを一覧取得します). It distinguishes itself from siblings by listing alternatives: getSale for specific order, statSale for aggregation, updateSale/cancelSale/sendSalesMail for write operations.

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?

Provides explicit usage guidance: default to last 1 week, date range by order or update date, filtering by buyer, payment/delivery/cancel status, email states, pagination with limit/offset, field selection. Directly references sibling tools for alternative operations, helping agents choose correctly.

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