Skip to main content
Glama

Read document text

archive_read_text
Read-onlyIdempotent

Extract readable text from ELO archive documents such as PDF, Word, Excel, email, plain text, and HTML, optionally for a specific version and with offset-based continuation.

Instructions

Extract the text of an ELO document: PDF, Word (docx), Excel (xlsx), e-mail (eml, msg), plain text and HTML. Optionally a specific version (versionId from archive_details). Long texts are truncated; continue with nextOffset.

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": {
      "id": "<id>"
    },
    "name": "archive_read_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesELO object: numeric ID (e.g. "4711"), GUID (e.g. "(E10E1000-E100-E100-E100-E10E10E10E30)") or archive path ("ARCPATH:/Folder/Subfolder"). Use the id or guid from a previous tool result.
offsetNoCharacter offset to start from (use nextOffset to continue).
maxCharsNoMaximum characters to return (capped by the server limit MAX_TEXT_CHARS).
versionIdNoOptional document version (versionId from archive_details). Default: current version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already state readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: it discloses truncation behavior and the continuation mechanism via nextOffset, plus supported document formats. It does not discuss authentication or error behavior, but that is a minor gap given the annotation coverage.

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 two tightly constructed sentences with no filler. It front-loads the core extraction purpose, then adds format and continuation details efficiently. Every clause contributes information an agent needs.

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 four-parameter read-only extraction tool with full schema documentation and useful annotations, this description covers the essential behavior: what is extracted, supported formats, version selection, and truncation continuation. The return structure is only implied through nextOffset, but no output schema exists and the tool's complexity is modest, so the definition is nearly complete.

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 the input schema already explains id, offset, maxChars, and versionId in detail. The description adds only modest semantic linkage by indicating that versionId comes from archive_details and that offset continuation uses nextOffset. That is helpful but not substantial enough to exceed the baseline when the schema does most of the work.

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 uses a specific verb and resource: "Extract the text of an ELO document." It enumerates supported formats and scopes the operation to plain text extraction, making it clearly distinct from archive_details or archive_browse. An agent can immediately tell this is the document text retrieval tool.

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?

The description gives clear usage context: use it to extract text, optionally for a specific version whose versionId comes from archive_details, and continue with nextOffset when truncation occurs. It does not explicitly contrast itself with siblings such as archive_search or archive_browse, so it stops short of full alternative-routing guidance.

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