Skip to main content
Glama

read_document

Read-only

Render a Polarion document as flowing Markdown, combining headings, work items, and prose into a single stream.

Instructions

Render a Polarion document end-to-end as flowing Markdown.

Paginates read_document_parts and interleaves headings, work-item descriptions, and prose into one stream — the canonical way to read a body. Read-only synthesis: do NOT feed back to update_document (collapses ID anchors, orphans headings); use get_document(include_homepage_content_html=True) for round-trip. For metadata-only extraction prefer list_work_items SQL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesPolarion project ID.
space_idYesSpace ID containing the document.
document_nameYesDocument name within the space.
page_sizeNo
page_numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
part_countYes
pageYes
page_sizeYes
total_partsYes
has_moreNo
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds that it is a read-only synthesis and warns about consequences of feeding output back to `update_document`. It also describes the output format and that it paginates `read_document_parts`, providing useful behavioral context beyond the annotation.

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 concise with two paragraphs, front-loading the main purpose and then providing usage guidance. Every sentence adds value without redundancy or filler.

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?

Given the tool has 5 parameters (3 required), an output schema, and readOnlyHint annotation, the description covers purpose, usage guidelines, behavioral transparency, and parameter semantics sufficiently. It leaves no obvious gaps for effective tool invocation.

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 60%, and the schema provides clear descriptions for each parameter (e.g., 'Polarion project ID.'). The description does not add new parameter-level information, so it meets the baseline for adequate schema documentation.

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 renders a Polarion document as flowing Markdown, specifies the verb (render), resource (document), and format (Markdown). It distinguishes from sibling tools like `read_document_parts` and `get_document`, 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?

Explicit guidance on when to use ('canonical way to read a body'), when not to use ('do NOT feed back to `update_document`'), and alternatives ('use `get_document(include_homepage_content_html=True)` for round-trip' and 'prefer `list_work_items` SQL for metadata-only').

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/devemberx/mcp-server-polarion'

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