Skip to main content
Glama

get_work_text

Retrieve the complete raw text of an AO3 fanfiction work by its ID, with an optional word limit to sample the opening.

Instructions

⚠️ NOT RECOMMENDED — escape hatch only. Returns the raw full text of ONE fic directly to you, bypassing the mini reader.

Prefer read_works in almost every case. A fic can run 150k+ words; pulling that into your own context buries everything else, burns your tokens, and throws away the whole reason this server exists — delegating reading to a cheap second model. read_works hands you a structured report plus verbatim prose samples, which is enough to judge, compare, and recommend a fic without the fic ever entering your context.

Only reach for this when you genuinely need exact wording a report can't carry — e.g. the user explicitly asks you to quote or close-read a specific passage. If you just want to know what a fic is like or whether it's good: use read_works instead.

Args: work_id: the numeric AO3 work id. max_words: cap the text to the first N words (0 = whole fic). Set a limit to sample a fic's opening instead of dumping the entire thing into your context — a few thousand words is usually plenty to judge voice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
work_idYes
max_wordsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses the trade-offs: bypasses mini reader, returns raw text, can be huge (150k+ words), and why it's an escape hatch. Also mentions the max_words parameter to mitigate context impact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is thorough and well-structured, front-loading the critical warning and recommendation. While slightly verbose, every part adds value, though a shorter alternative could be possible.

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?

Covers usage, parameters, and behavioral impact adequately. With an output schema present, the description need not detail return values. Minor gap: doesn't specify if text includes HTML or formatting.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema coverage, the description explains work_id as 'numeric AO3 work id' and max_words as 'cap the text to first N words, 0 = whole fic', with a suggestion to sample. This adds necessary context missing from the schema.

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 it returns the raw full text of a fic, and explicitly distinguishes it from read_works by contrasting structured reports vs raw text. The purpose is unambiguous and specific.

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?

Provides explicit when-to-use (exact wording needed, user asks to quote/close-read) and when-not-to-use (prefer read_works in almost every case), with reasoning about context burden and token waste.

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/ArturLys/ao3-mcp'

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