Skip to main content
Glama

Dokumentabschnitt

ris_dokument_abschnitt
Read-only

Return a specific section of an already open RIS legal document using a character offset or document number. Designed for the viewer widget to display parts of the document.

Instructions

Return one section of a document already open in the RIS document viewer. Intended for the viewer widget, not for direct use — for the full text of a document use ris_dokument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoDirect URL of the open document, for documents opened by URL rather than by number
offsetNoCharacter offset into the document text; 0 returns the first section and the outline
dokumentnummerNoRIS document number of the open document - from the ris_dokument call that opened it

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe requested section of the document text
outlineNoJump targets of the document. Only returned for offset 0; empty when the document has no headings
source_urlNoRIS URL the document text was rendered from
next_offsetYesOffset to request for the following section, or null at the end of the document
total_lengthYesLength of the complete document text — compare across calls to detect that the document was re-fetched and offsets shifted
dokumentnummerNoRIS document number of the document this section belongs to
Behavior4/5

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

The description adds valuable behavioral context beyond the annotations by stating the tool operates on a document 'already open in the RIS document viewer,' implying a stateful prerequisite. Annotations already cover read-only and non-destructive traits, and the description does not contradict them.

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 only two sentences, front-loaded with the core purpose and followed by usage context. Every word earns its place, with no redundancy or fluff.

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 tool's simplicity and the existence of a rich schema and output schema, the description covers the essential context: what it does, when it's intended, and an alternative. It could mention which parameter to use for document identification, but the schema descriptions handle that, so completeness is solid.

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 baseline is 3. The description itself does not elaborate on parameter relationships or usage; it relies entirely on the schema, which sufficiently documents each parameter. No additional semantic value is provided.

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 returns one section of an already-open document, with a specific verb ('Return') and resource ('one section of a document'). It also explicitly distinguishes from the sibling ris_dokument by noting that ris_dokument is for full text, making the purpose unambiguous.

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?

It provides explicit usage guidance: intended for the viewer widget and not for direct use, with a clear alternative for full-text retrieval ('use ris_dokument'). This precisely tells the agent when to use this tool and when not to.

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/Honeyfield-Org/ris-mcp-ts'

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