Skip to main content
Glama

Search Booksellers

search_bookseller
Read-onlyIdempotent

Search booksellers by partial name (accent and case insensitive), matched against the corporate name and the contact name. Returns up to 10 matching booksellers. Use when you have a partial or approximate name; to find booksellers by location rather than by name, use list_booksellers. Each match carries only the id, corporate name, small code, URL name and public page URL — call get_bookseller with the id for contact details and sale conditions. No match returns an empty list, not an error.

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": {
      "name": "<name>"
    },
    "name": "search_bookseller"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPartial name to search (accent and case insensitive). Searches corporate name and contact name.
limitNoMax number of results (default: 10, max: 10)

Output Schema

NameRequiredDescriptionDefault
booksellersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, but the description adds behavior they cannot express: a hard cap of 10 matches, the exact field projection returned per match, and the empty-list-not-error behavior on no match. The only remaining gap is ranking/ordering of matches when more than 10 exist, which is left unstated.

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?

Front-loads the search semantics, then the result cap, then the alternative-tool routing, then the projection and error behavior — a logical order with no filler sentences. Despite being five sentences, each one carries distinct information an agent needs to call the tool or interpret its output.

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?

For a two-parameter lookup with annotations and an output schema, the description covers matching rules, result count, the shallow payload, the escalation path to get_bookseller, and the no-match case. Nothing an agent needs to invoke it or interpret an empty result 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 description coverage is 100%, and the description largely restates what the two property descriptions already say (partial name, accent/case insensitive, corporate and contact name). The 'up to 10 matching booksellers' sentence gives context for the limit parameter without adding syntax or default behavior beyond the schema's own default/max note. Baseline 3 applies since the schema carries the parameter detail.

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?

States a specific verb and resource ('Search booksellers') plus the matching semantics: partial name, accent- and case-insensitive, against corporate name and contact name. It also distinguishes itself from both siblings, naming list_booksellers for location lookups and get_bookseller for detail retrieval, so an agent can route without opening any 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 an explicit use condition ('when you have a partial or approximate name') and a concrete exclusion with the alternative ('to find booksellers by location rather than by name, use list_booksellers'). It further redirects to get_bookseller when the shallow result projection is insufficient, which is a genuine follow-up routing decision.

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