Skip to main content
Glama

Read Full Text or Metadata

library_read
Read-onlyIdempotent

Fetch full-text content or metadata from a public library source using an item ID. Returns cleaned text up to 200k characters, or item details with an external URL.

Instructions

Fetch text from a library source. Full-text sources return cleaned text (truncated at 200k chars). Metadata sources return item details and an external URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesItem identifier from library_search or library_ask
sourceYesLibrary source name. Run library_list_sources for the current list and descriptions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
doiNo
noteNo
textNo
yearNo
pagesNo
titleYes
authorsYes
languageNo
charCountNo
truncatedNo
externalUrlNo
truncatedAtNo
unavailableNo
metadataOnlyNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv11.0.0

TDQS

A3.8/5.0
Behavior4/5

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

The description adds useful behavioral details beyond the annotations: full-text results are cleaned and truncated at 200k characters, and metadata sources return details plus an external URL. This complements the readOnlyHint and idempotentHint annotations without contradiction.

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 compact and front-loaded: the first sentence states the core purpose, and the second sentence adds the key variant behavior. Every sentence earns its place with no redundancy.

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?

Given the output schema exists, the description appropriately avoids detailing return values. It covers the main behavioral variation and works with the schema to give the agent enough to call the tool correctly. Minor gaps like error behavior are not critical here.

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 schema already explains both id and source. The description adds context about source type behavior but does not introduce new parameter-specific semantics beyond what the schema provides.

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?

The description clearly identifies the operation: fetching text from a library source. It adds meaningful differentiation between full-text and metadata sources, which helps distinguish this tool from search-oriented siblings like library_search or library_ask.

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 usage context through the phrase 'from a library source' and the parameter note that ids come from library_search or library_ask. However, it does not explicitly say when to use this tool versus alternatives or state exclusions, leaving some inference to the agent.

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

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/The-40-Thieves/alexandria-mcp'

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