Skip to main content
Glama

Islam West Africa Collection (IWAC)

Get publication full text

get_publication_fulltext
Read-onlyIdempotent

Full OCR text of a publication in 25k-char parts (follow next_offset), or ~2000-char excerpts around keyword matches (accent-insensitive; capped: see match_count vs excerpts_returned).

Input Schema

NameRequiredDescriptionDefault
offsetNoRead from this character on: the previous part's next_offset
keywordNo
max_excerptsNoDefault 10, max 25
context_charsNoDefault 2000, max 5000
publication_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed7 schema fields changed
    • removedInput schema / properties / context_chars / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / context_chars / minimum
      Removed value: --9007199254740991
    • removedInput schema / properties / max_excerpts / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / max_excerpts / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Read from this character on: the previous part's next_offset",
      +  "type": "integer"
      +}
    • removedInput schema / properties / publication_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / publication_id / minimum
      Removed value: --9007199254740991
  3. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed7 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context_chars / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / context_chars / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / max_excerpts / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / max_excerpts / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / publication_id / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / publication_id / minimum
      Added value: +-9007199254740991
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds useful behavior beyond annotations: 25k-character pagination via next_offset, keyword excerpts of about 2000 characters, accent-insensitive matching, and capped excerpt behavior indicated by match_count versus excerpts_returned.

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 dense sentence, front-loaded with the primary purpose and then the alternate mode. It contains no filler and every clause contributes operational information.

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 5-parameter retrieval tool with no output schema, the description covers the key modes, pagination flow, excerpt sizing, and result-limit concept. It is slightly incomplete because publication_id semantics and exact response field behavior are not fully explained.

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 60%, so the schema already documents offset, max_excerpts, and context_chars. The description adds meaning for keyword matching and pagination, but publication_id remains undocumented and the exact cap mechanics are only referenced indirectly.

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 and resource: retrieves full OCR text of a publication, with clear paged full-text and keyword-excerpt modes. It does not explicitly distinguish itself from sibling retrieval tools such as get_document or get_article, so it is clear but not fully sibling-differentiated.

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

Usage Guidelines3/5

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

The description implies when each mode applies: use offset paging for full text, or keyword for excerpts around matches. However, it does not explicitly say when to use this tool versus search_publications or other retrieval siblings, nor does it state exclusions.

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.