Skip to main content
Glama

Read asset text

read_asset_text
Read-only

Read the text Playbook extracted from a PDF or Illustrator file when it was uploaded — for "what does this PDF say", pulling figures out of a deck, or quoting a document. The text has no layout, so tables and slides read as run-on lines. It comes in slices of at most 8000 characters with [page N] markers: read the first slice, then pass next_offset as offset, or page to jump. When a file has no readable text, status and note say why (still processing, scanned with no OCR, password-protected, or not a document).

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": {
      "token": "<token>"
    },
    "name": "read_asset_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoStart at this page (1-based). Overrides offset.
tokenYesAsset token
offsetNoCharacter offset to start from (default 0)
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), yet the description adds real behavioral context: text is layout-free so tables and slides become run-on lines, slices are capped at 8000 characters, [page N] markers are embedded, and continuation works via offset or page. It also enumerates the failure modes surfaced in status/note (processing, scanned without OCR, password-protected, not a document).

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?

Front-loaded purpose in the first clause, then caveats, then pagination mechanics, then failure handling. Four sentences, each carrying distinct information with no filler.

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 no output schema, the description carries the burden of describing returns and does so: slices of text with page markers, plus a status/note pair explaining empty results. Nothing needed to call and interpret the result is missing.

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?

Schema coverage is 100%, so baseline is 3. The description goes further by explaining the pagination protocol — read the first slice, then pass next_offset as offset, or use page to jump — which conveys the intended working pattern rather than restating the field text.

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?

States a specific verb and resource — reading the text Playbook extracted from a PDF or Illustrator file — and scopes it to concrete questions ("what does this PDF say", pulling figures, quoting). The agent can distinguish this from read_documentation or binary-asset tools without opening the schema.

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?

Names three concrete use cases that select this tool and implicitly excludes non-document assets by noting the failure statuses. It does not name an alternative sibling (e.g. a preview or metadata tool) for when text extraction is insufficient, so it stops short of full routing guidance.

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.

Resources