Skip to main content
Glama
Polarion MCP Server — 2023 兼容版

Polarion MCP Server — 2023 兼容版

polarion_list_documents

Lists LiveDoc documents in a Polarion project or a single space; when no space is given, it scans all spaces and merges results to work around the missing project-wide search endpoint.

Instructions

List LiveDoc documents in a project or in one space.

On Polarion 2023 there is no project-wide document search endpoint, so when space_id is omitted this walks all spaces and merges the results.

Args: project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. space_id: Optional space id to restrict the listing. limit: Maximum documents to return. include_content: Include the document home page HTML (can be large).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "polarion_list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
space_idNo
project_idNo
include_contentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does real work: it discloses that this is a client-side walk across all spaces with merged results due to a missing server endpoint, and warns that include_content can return large HTML. It does not mention pagination, ordering, or read-permission requirements, which is why it is not a 5.

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?

Front-loads the one-line purpose, then the important caveat about the 2023 all-spaces walk, then compact per-argument notes. Every line is useful; formatting is clean and slightly utilitarian, with no wasted sentences.

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?

An output schema exists, so return values need not be described, and the behavioral caveat plus all four argument notes cover what an agent needs to call it correctly. Only edge detail such as cross-space limit semantics or result ordering is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 compensate, and it documents all four parameters: project_id with its POLARION_DEFAULT_PROJECT fallback, optional space_id scoping, limit as a maximum count, and include_content as home-page HTML. It could go further by clarifying whether limit applies per space or to the merged total.

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 — 'List LiveDoc documents' — with the scope ('in a project or in one space') spelled out. It implicitly separates itself from polarion_get_document by being a listing operation, though it never names a sibling.

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 clear context for the key decision: omitting space_id triggers an all-spaces walk on Polarion 2023, so an agent knows when to pass space_id for a cheap scoped listing versus leaving it out. It stops short of an explicit 'use X instead' exclusions statement, keeping it at 4 rather than 5.

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