Skip to main content
Glama

Japan Shops, From Their Own Pages

Search the shop list

search_shops
Read-onlyIdempotent

Find makers and shops in Japan by keywords: what they make, the kind of shop, or the place (prefecture or city). Keywords may be Japanese or English; separate several with spaces (up to 8 in one query). A row is returned when any one keyword matches (not all of them); each row lists its matched_terms, and matched_in shows where each one was found (a keyword can match inside a longer word, so check it). Words are matched as written (no synonyms), so put similar words together in one query, e.g. "緑茶 日本茶 お茶 green tea". Returns matching rows, best match first, with how many rows matched in total and how many rows each keyword matched (rows_per_term; a keyword with 0 rows is not in this list). If complete is false, more rows matched than were returned: call again with the same query and offset = next_offset.

About counting: search keywords are counted by day, only to decide which shops to add to the list. The counts hold nothing about who searched, and the query itself is not kept. Words that look like mail addresses, links or long numbers are left out by a simple filter. To leave this search out of the counts, set do_not_note_words = true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return (default 10).
queryYesKeywords, 1 to 200 characters, up to 8 keywords (more are not searched and come back in ignored_terms). Example: "silk socks" or "鹿児島 茶".
offsetNoHow many matching rows to skip (default 0). To get the next rows, use next_offset from the previous answer with the same query.
do_not_note_wordsNotrue = leave the keywords of this search out of the daily keyword counts (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the readOnly/idempotent annotations, it discloses OR-matching semantics, substring matching ('a keyword can match inside a longer word'), result ordering ('best match first'), and the completeness/pagination contract. It also exposes the keyword counting side effect, the filter on mail-address-like or numeric terms, and how to opt out with do_not_note_words — meaningful behavior an agent could not infer from structured fields.

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?

Front-loaded with the search intent, then result shape, then pagination, then privacy — a sensible ordering with no wasted preamble. The counting paragraph is somewhat verbose and partly restates the schema's do_not_note_words description, which keeps it from a 5.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does: rows, matched_terms, matched_in, total match count, rows_per_term, and next_offset. For a four-parameter read tool, an agent has everything needed to invoke it and to handle truncated results.

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 baseline is 3, and the description adds real meaning on top: the up-to-8-keyword cap interacting with ignored_terms, the absence of zero-result keywords from rows_per_term, and the coupling of complete with offset = next_offset. It does not explain how limit trades off against pagination explicitly, so it is not exhaustive.

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 opening sentence gives a specific verb and resource ('Find makers and shops in Japan') plus the exact searchable facets: product, shop type, and location. It also distinguishes this from a single-record lookup by describing row-level result semantics, so an agent can tell it apart from get_shop without opening either schema.

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?

It clearly frames the search context and gives actionable tactics: keywords may be Japanese or English, up to 8 terms, OR-matching, no synonyms, so group similar words in one query with a concrete example. It also prescribes the continuation procedure ('call again with the same query and offset = next_offset'). It stops short of naming get_shop or shelf_overview as alternatives and when to prefer them.

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.

Resources