Skip to main content
Glama
smeet666

mcp-archiveorg

Search inside scanned pages

search_inside
Read-onlyIdempotent

Search the full text of digitized books, newspapers, and documents on the Internet Archive to locate exact phrases or keywords within the content, not just titles or catalog records.

Instructions

Search the text inside digitised books, newspapers and documents on the Internet Archive. This reads what optical recognition took off the scanned pages, so it finds a phrase that appears nowhere in a title or a catalogue record. Put a phrase in double quotes to match it whole; without quotes the words are matched separately, which finds far more. 'total' counts the documents that match, and they page: ask for page 2, 3 and so on to see beyond the first answer. It is not a count of how many times the phrase occurs. The index reports no page number, so a match names the item and the passage, never a leaf. Follow source_url and search the item to find where the passage sits. When 'inside_container' is true the passage came from a document bundled inside the item, and the title, creator and year describe the container rather than the text that matched: read 'matched_file' for what actually holds it. Use search_items or search_books instead when looking for a work by its title, author or subject.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoWhich page of matches, from 1.
limitNoMatches to return.
queryYesWords or a quoted phrase, such as '"call me ishmael"'.
max_excerpt_charsNoBudget for one passage. Read it together with 'max_excerpts_per_match': the size of the answer is the product of the two and the number of matches.
max_excerpts_per_matchNoPassages to keep per match. The index finds several in a long work, and the later ones rarely say anything the first did not.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hitsYes
pageYes
notesYes
queryYes
totalYesDocuments that match, not the number returned and not a count of occurrences. Raise 'page' to read further into it.
Behavior5/5

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

The description discloses several important behaviors beyond annotations: 'total' counts documents, not occurrences; the index reports no page number so matches never give a leaf; inside_container behavior is explained (container vs matched_file); and it advises following source_url to locate a passage. These are non-obvious behavioral traits that annotations (readOnly, idempotent) don't cover.

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?

The description is dense but well-organized: it opens with purpose, then explains search behavior, output caveats, container disambiguation, and finally alternatives. Every sentence adds unique information; no filler or repetition.

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 5 parameters, an output schema, rich annotations, and multiple sibling tools, the description covers all critical aspects: query syntax, pagination, output semantics, edge cases (inside_container), and when to use alternatives. The output schema handles return value details, so no additional description is needed.

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?

Since schema coverage is 100%, baseline is 3. The description adds value by explaining how to use the query parameter ('Put a phrase in double quotes...'), how pagination works ('ask for page 2, 3 and so on'), and clarifies output semantics like 'total' is not a term frequency count. This supplements the schema without duplicating it.

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 clearly states 'Search the text inside digitised books, newspapers and documents on the Internet Archive' with a specific verb, resource, and scope. It also explicitly distinguishes from search_items and search_books when looking for works by title/author/subject, making sibling differentiation strong.

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?

It explicitly states when to use this tool (to find text inside scanned pages) and provides an explicit exclusion: 'Use search_items or search_books instead when looking for a work by its title, author or subject.' Also gives practical tips on quoted phrases and pagination, which helps agents decide the correct invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smeet666/mcp-archiveorg'

If you have feedback or need assistance with the MCP directory API, please join our Discord server