Title100/100
Search Books Tool
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
Search the ebook and audiobook catalog by title, author, or publisher. Each result lists bookshops and fresh store offers when available. Present checkout_url to the user; do not fetch it.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
query
What to search for: a title, an author name, or a publisher.
Clear enough to supply this argument.
lang
Optional two-letter book-language filter, such as es, en, or pt.
Clear enough to supply this argument.
limit
Maximum results to return.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations100/100
All four behavior hints are declared.
{
"title": "Search Books Tool",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema70/100
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"required": [
"query",
"count",
"items"
],
"properties": {
"count": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"slug",
"author",
"authors_detail",
"publisher",
"publisher_detail",
"genres",
"isbn",
"language",
"formats",
"cover_url",
"page_count",
"published_year",
"url",
"stores"
],
"properties": {
"url": {
"type": "string"
},
"isbn": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"genres": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"slug"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"stores": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"country",
"url",
"is_free",
"price",
"checkout_url"
],
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": [
"object",
"null"
],
"required": [
"amount",
"currency",
"checked_at",
"list_amount",
"discount_percent",
"valid_until"
],
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
},
"checked_at": {
"type": "string"
},
"list_amount": {
"type": [
"string",
"null"
],
"description": "The bookshop's own price before its current sale, or null when there is no sale. Repeat it as given; never compare it with other bookshops."
},
"valid_until": {
"type": [
"string",
"null"
],
"description": "ISO 8601 instant when this price stops applying, or null when it has no end. Never promise the price after it."
},
"discount_percent": {
"type": [
"integer",
"null"
],
"maximum": 99,
"minimum": 1,
"description": "Whole-number discount of amount against list_amount, rounded down, or null when there is no sale."
}
}
},
"country": {
"type": [
"string",
"null"
],
"pattern": "^[A-Z]{2}$",
"description": "Two-letter upper-case country code as the bookshop registered it, or null when it has none on file. Normalized in shape only, not checked against the ISO 3166-1 list."
},
"is_free": {
"type": "boolean"
},
"checkout_url": {
"type": [
"string",
"null"
]
}
}
}
},
"formats": {
"type": "array",
"items": {
"type": "string"
}
},
"language": {
"type": [
"string",
"null"
]
},
"cover_url": {
"type": [
"string",
"null"
]
},
"publisher": {
"type": [
"string",
"null"
]
},
"page_count": {
"type": [
"integer",
"null"
]
},
"authors_detail": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"slug"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"published_year": {
"type": [
"integer",
"null"
]
},
"publisher_detail": {
"type": [
"object",
"null"
],
"required": [
"name",
"slug"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
}
}
},
"query": {
"type": "string"
}
}
}