Skip to main content
Glama

Open Library Books ISBN Catalog MCP

Search Open Library books by subject

search_by_subject
Read-onlyIdempotent

Browse works cataloged under an Open Library subject slug (e.g. "computer_science", "economics", "machine_learning") with total work counts.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum works to return (1-50, default 15).
offsetNoPagination offset (default 0).
subjectYesSubject name or slug (e.g. "computer_science" or "economics").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds one piece of genuine behavioral context beyond that: results come 'with total work counts', which signals the response shape despite there being no output schema. It says nothing about pagination behavior or result ordering.

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?

A single front-loaded sentence that identifies the verb, the resource, the identifier format and one output detail. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter read-only browse tool with full schema coverage and annotations, this covers what an agent needs: what it retrieves, the slug convention, and that counts are returned. The only meaningful omission is any hint on when to prefer this over the sibling search_books.

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%, so subject, limit and offset are all documented in the schema with ranges and defaults. The description's slug examples ('computer_science', 'machine_learning') corroborate the schema's own example but add no format guidance the schema lacks, and it says nothing about limit/offset. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Browse') plus resource ('works cataloged under an Open Library subject slug') and gives three concrete slug examples, so the agent knows this is subject-axis browsing rather than title/author lookup. It never names a sibling like search_books, so the distinction must be inferred from the word 'subject'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as search_books for keyword queries or lookup_isbn for identifier lookups. The agent must infer that this tool is for known subject slugs only.

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.