Skip to main content
Glama

Get Bookseller

get_bookseller
Read-onlyIdempotent

Get a bookseller by ID, small code, URL name, or corporate name. ID is exact; small code, URL name and corporate name are exact and case-insensitive. Provide exactly one parameter. All four reach the same booksellers: every one whose page exists, a bookseller on hold included; a bookseller who is gone, or who asked not to appear online, is found by none of them. A corporate name is routinely shared: when several booksellers match, all of them are reported and none is chosen.

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": "get_bookseller"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoGet by bookseller ID.
urlNameNoGet by URL-friendly name (exact, case-insensitive).
smallCodeNoGet by 3-character small code (exact, case-insensitive).
corporateNameNoGet by exact corporate name (case-insensitive). A corporate name is routinely shared: several booksellers may match, in which case they are all reported and none is picked.

Output Schema

NameRequiredDescriptionDefault
matchesNo
booksellerYes

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 and non-destructive, so the bar is lower, yet the description still adds real behavior: on-hold booksellers are included, removed or opted-out ones are invisible, and a shared corporate name returns all matches with no selection. That multi-match semantics is exactly the kind of surprise an agent needs warned about.

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 action and keys, then the matching rules, then the edge cases. Slightly heavy phrasing in 'All four reach the same booksellers: every one whose page exists...' and the shared-corporate-name sentence partially duplicates the corporateName schema field.

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?

Return shape is covered by the output schema and the safety profile by annotations, so the remaining burden is edge-case behavior, which the description handles thoroughly. An agent can call this correctly without further inference.

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 per-parameter meaning is already documented; the description's added value is the exclusivity constraint and the ID-is-exact versus others-are-case-insensitive distinction, neither of which is enforced by the schema (no oneOf, no required). It stops short of giving format examples such as the 3-character small code shape, which the schema does cover.

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 description opens with a specific verb and resource ('Get a bookseller') and enumerates the four lookup keys (ID, small code, URL name, corporate name). The emphasis on exact matching and 'exactly one parameter' cleanly separates it from a fuzzy search tool such as search_bookseller.

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 gives a concrete invocation rule ('Provide exactly one parameter') and defines the negative space clearly: gone booksellers and those who opted out are found by none of the keys. What is missing is an explicit pointer to when a caller should prefer search_bookseller or list_booksellers instead.

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