Skip to main content
Glama

Smaregi MCP by usefulapi

List customers

smaregi_list_customers
Read-only

List customers (members): id, code, number, name, phone, e-mail, address. Smaregi cannot search by name, phone or e-mail: filter by customer code, member number, id range or update time, or page through. Contains shoppers' personal data. GET /customers.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
sortNoSort order: comma-separated field names, ':desc' for descending (e.g. updDateTime:desc).
limitNoResults per page, 1-500 (default 50).
fieldsNoComma-separated top-level field names to return (e.g. productId,productName); fewer fields = smaller replies.
updated_toNoOnly customers changed at or before this date-time (31 days at most).
customer_noNoOnly the customer with this member number.
updated_fromNoOnly customers changed at or after this date-time (ISO 8601 with timezone).
customer_codeNoOnly the customer with this exact customer code.
customer_id_toNoOnly customers with an id at or below this.
customer_id_fromNoOnly customers with an id at or above this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds the non-obvious behavioral constraint that Smaregi cannot search by name/phone/e-mail and flags that the payload contains shoppers' personal data. No mention of rate limits or reply size limits beyond what the schema states.

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?

Three tight sentences: returned fields first, then the search constraints and alternatives, then the PII caveat. Every sentence carries actionable information with no padding.

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

Completeness5/5

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

With no output schema and 100% schema coverage on ten optional params, the description supplies the missing pieces: what is returned, how to filter given the name/phone limitation, and a data-sensitivity warning. Nothing essential for a correct first call is absent.

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 coverage is 100%, so 3 is the baseline; the description earns an extra point by explaining the intended filtering strategy (code, member number, id range, update time, pagination) that a caller would otherwise have to infer by reading all ten property descriptions. It adds strategy, not syntax, but that strategy is the piece the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the exact fields returned (id, code, name, phone, e-mail, address) and the underlying endpoint GET /customers, so the agent knows precisely what comes back. It does not, however, acknowledge the sibling smaregi_get_customer, which overlaps with the single-record filter modes it describes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly rules out searching by name, phone or e-mail and redirects to the supported filters (customer code, member number, id range, update time) or paging — a clear 'how to use' instruction that prevents failed attempts. No explicit when-not condition vs. get_customer, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.