Skip to main content
Glama

List Booksellers

list_booksellers
Read-onlyIdempotent

Browse the public directory of professional booksellers, optionally filtered by location — use this to answer questions like "which booksellers are in Lyon?" (search_bookseller needs a name, this tool does not). Filters: countryCode (ISO 3166-1 alpha-2, case-insensitive), city (case- and accent-insensitive contains match), department (French department code, e.g. "69" or "2A"). Results are sorted alphabetically and paginated: page is 0-based, limit is 1-100 (default 25); hasMore tells whether a next page exists. Online-only booksellers have no city/country and never match location filters. Use get_bookseller with a returned smallCode or urlName to get full contact details, or search_books with booksellerCity/booksellerCountryCode to search their stock.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_booksellers"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoFilter by city name, case- and accent-insensitive contains match (e.g. "lyon" matches "Lyon", "orleans" matches "Orléans").
pageNoZero-based page number (default: 0)
limitNoResults per page, 1-100 (default: 25)
departmentNoFilter by French department code (e.g. "69" for Rhône, "2A" for Corse-du-Sud). Only matches booksellers located in France.
countryCodeNoFilter by bookseller country: ISO 3166-1 alpha-2 code, case-insensitive (e.g. "FR", "us"). Valid codes come from get_search_filters.

Output Schema

NameRequiredDescriptionDefault
pageYes
limitYes
totalYesTotal number of booksellers matching the filters (all pages)
hasMoreYes
booksellersYes

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?

Annotations already declare read-only/idempotent/open-world, but the description adds traits annotations cannot express: alphabetical sorting, 0-based pagination with hasMore signaling, and the edge case that online-only booksellers have no city/country and never match location filters. That last point is a genuine behavioral trap the agent would otherwise misread as an empty result.

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 purpose, then the disambiguating parenthetical, then filters, pagination, caveat, and next-step routing — a sensible information order with no filler sentences. It is dense to the point of being a single long block, which slightly hurts scanability but every clause carries content.

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 a 100%-covered schema, full annotations, and an output schema in place, the description only needs to cover selection logic and behavior — and it does: scope, filters, sort order, pagination contract, the online-only caveat, and follow-up tools. Nothing an agent needs in order to call this correctly is missing.

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?

Schema coverage is 100%, so the schema already documents case/accent-insensitivity, ISO codes, department examples, and the 0-based page / 1-100 limit defaults — the description largely restates these. The only added meaning is the filter-behavior caveat that online-only booksellers never match location filters, which justifies sitting at rather than below the baseline.

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?

Opens with a specific verb+resource ('Browse the public directory of professional booksellers') and immediately scopes it as optionally location-filtered. It explicitly distinguishes itself from search_bookseller ('needs a name, this tool does not'), so an agent can choose between them without opening a schema.

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?

Gives a concrete use case ('which booksellers are in Lyon?'), names the contrasting sibling and the condition that selects it, and routes onward to get_bookseller (by smallCode/urlName) and search_books (by booksellerCity/booksellerCountryCode). When-to-use, when-not-to-use, and alternatives are all present.

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