Skip to main content
Glama

source_read

Read-only

Fetch a source from a notebook as a brief AI summary for quick triage or as full extracted text, including metadata and pagination controls.

Instructions

Read a source at one of two detail levels. Accepts a notebook/source name or ID.

detail selects what you get back (two distinct shapes):

  • summary — a tiny AI digest for low-token triage: {notebook_id, source_id, summary, keywords}. Cheap to fan out across many sources before deciding which to pull in full.

  • full (DEFAULT) — the source metadata (incl. string kind/status_label) plus the extracted content, the full char_count, and a truncated flag. content is ALWAYS bounded: omitting max_chars caps it at the first 10,000 chars; raise max_chars and/or page with offset (slice [offset : offset+max_chars]). char_count stays the FULL length. content is null (char_count 0) when the source isn't ready yet or has no extractable text.

output_format (text default / markdown, needs the server's markdownify extra) and max_chars / offset apply only to detail="full" (ignored for summary). Prefer chat_ask for querying large sources rather than pulling the whole body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNofull
offsetNo
sourceYes
notebookYes
max_charsNo
output_formatNotext
Behavior5/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false, and the description adds substantial behavioral context beyond that. It discloses content length limits (default 10,000 chars), pagination via offset/max_chars, that char_count stays full length, content null when not ready, and that output_format markdown requires a server extra. No contradiction with annotations.

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 long but densely structured with bullet points and code blocks. Every sentence earns its place, delivering detailed parameter semantics and return shapes without redundancy. It is front-loaded with a clear purpose statement and then organized detail.

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 explains return values thoroughly, including both detail shapes and edge cases like truncated content and null content. It also covers the 'markdownify' dependency and refers to chat_ask for large sources, making the tool's behavior fully understandable in context.

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?

Schema description coverage is 0%, so the description fully compensates. It explains each parameter: detail chooses the return shape, offset/max_chars slice the content, output_format controls formatting, and provides the exact return keys for summary and full. This goes far beyond the schema's bare enum/type definitions.

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 states a specific verb and resource: 'Read a source at one of two detail levels.' It clearly differentiates from sibling tools like source_list, source_delete, and source_wait by focusing on reading the content/metadata at chosen detail levels. The two detail shapes (summary vs full) further clarify the tool's purpose.

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?

The description provides explicit usage guidance: 'summary' is recommended for low-token triage across many sources, 'full' for detailed content, and it explicitly says 'Prefer chat_ask for querying large sources rather than pulling the whole body.' This names an alternative and provides context on when to choose one approach over others.

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/Solar2004/nblm-mcp'

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