Skip to main content
Glama

austria-parliament-mcp-server

Atparl Get Document

atparl_get_document
Read-onlyIdempotent

Read eligible Austrian parliamentary HTML documents as Markdown or confirm that a PDF exists. For long documents, choose a section from the returned outline or use a Randnummer (RN) anchor to read a plenary protocol section.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "atparl_get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesOfficial Parliament document URL or /dokument/ path from another tool. An HTML plenary protocol may include an RN anchor such as #130.
sectionNoSection ID from outline or next_section. If url has an RN anchor, the supplied section must match it.

Output Schema

NameRequiredDescriptionDefault
urlNoCanonical document URL without a selector.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the document exists and is eligible, including PDF-only documents.
noticeNoHow to read an outlined document.
reasonNoWhy Markdown is unavailable. format_unavailable means the source is PDF-only.
sourceNoParliament source attribution.
outlineNoOrdered section selectors for a body over 40,000 bytes.
sectionNoDetails of the selected section.
markdownNoComplete Markdown body or selected section.
size_bytesNoFull converted body size in UTF-8 bytes.
next_sectionNoSelector for the following section, or null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world behavior, and the description still adds useful context: output is Markdown, long documents return an outline you can re-query with, and PDF URLs only yield an existence confirmation. The word 'eligible' hints that some documents are rejected, but the failure mode is left unspecified.

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?

Two tight sentences, front-loaded with the primary read behavior and followed by the long-document mechanic. Nearly every clause earns its place, though the PDF-confirmation clause sits a bit awkwardly as a co-equal purpose.

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?

With only two parameters, full schema coverage, and an output schema carrying return details, the description covers what an agent needs to call it correctly, including the outline-then-section retry loop. Only the 'eligible' restriction and error behavior are left implicit.

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 coverage is 100%, so both url and section are already documented. The description reinforces the RN-anchor concept and the section-from-outline workflow, but the matching rule for anchor vs. section is stated in the schema itself, so the added meaning is marginal.

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?

States a specific verb and resource — read Austrian parliamentary HTML documents as Markdown, or confirm PDF existence — which is concrete enough to separate it from the search/get_* siblings. It stops short of naming any sibling explicitly, so full differentiation still relies on the agent inferring intent from the URL-bearing schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives real procedural guidance for the hard case: for long documents, pick a section from the returned outline or use an RN anchor. It does not say when to prefer this over atparl_get_item or when to skip it (e.g., non-HTML or ineligible documents), so the call context is clear but not exclusionary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.