Skip to main content
Glama
AI-Riksarkivet

Riksarkivet MCP Server

browse_document

Retrieve complete transcriptions of historical Swedish documents by reference code and page numbers, with links to view original page images.

Instructions

Browse specific pages of a document by reference code and view full transcriptions.

This tool retrieves complete page transcriptions from historical documents in Swedish.
Each result includes the full transcribed text as it appears in the original document,
plus direct links to view the original page images in Riksarkivet's image viewer (bildvisaren).
Prefer showing the whole transcription and link in responses of individual pages. 
Download some of the nearby pages too on selected pages if context seem to be missing from the trancript 
to get a better picture

Original text:
transcript

Translation
Modern translation in language of user 

Links

Key features:
- Returns full page transcriptions in (original language)
- Provides links to bildvisaren (Riksarkivet's image viewer) for viewing original documents
- Supports single pages, page ranges, or multiple specific pages
- Direct links to ALTO XML for detailed text layout information

Parameters:
- reference_code: Document reference code from search results (e.g., "SE/RA/420422/01")
- pages: Page specification - single ("5"), range ("1-10"), or comma-separated ("5,7,9")
- highlight_term: Optional keyword to highlight in the transcription
- max_pages: Maximum number of pages to retrieve (default: 20)

Examples:
- browse_document("SE/RA/420422/01", "5") - View full transcription of page 5
- browse_document("SE/RA/420422/01", "1-10") - View pages 1 through 10
- browse_document("SE/RA/420422/01", "5,7,9", highlight_term="Stockholm") - View specific pages with highlighting

Note: Transcriptions are as they appear in the historical documents.
Use this tool when you need complete page content rather than just search snippets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reference_codeYes
pagesYes
highlight_termNo
max_pagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it retrieves transcriptions in Swedish, includes links to original images and ALTO XML, supports various page specifications, and notes transcriptions are as they appear historically. It lacks details on rate limits or error handling, but covers core operational traits well.

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

Conciseness3/5

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

The description is front-loaded with core purpose but includes verbose sections like 'Key features' and 'Examples' that repeat information. Sentences like 'Download some of the nearby pages too...' are ambiguous and could be trimmed. It's informative but not optimally concise, with some 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 4 parameters with 0% schema coverage, no annotations, but an output schema exists, the description does well. It covers purpose, usage, parameters, and examples thoroughly. The output schema likely handles return values, so the description appropriately focuses on input and behavior. Minor gaps in error handling or limits keep it from a perfect score.

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 must fully compensate. It provides detailed semantics for all parameters: explains 'reference_code' format with examples, describes 'pages' syntax for single/range/multiple, clarifies 'highlight_term' as optional keyword highlighting, and specifies 'max_pages' default and purpose. This adds substantial value beyond the bare 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 the tool's purpose: 'Browse specific pages of a document by reference code and view full transcriptions.' It specifies the verb ('browse'), resource ('document pages'), and distinguishes from the sibling tool 'search_transcribed' by emphasizing complete page content rather than search snippets.

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 guidance on when to use this tool: 'Use this tool when you need complete page content rather than just search snippets.' This directly contrasts with the sibling tool 'search_transcribed' (implied to provide snippets), offering clear alternatives and context for selection.

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/AI-Riksarkivet/ra-mcp'

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