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

Polarion MCP Server — 2023 兼容版

polarion_list_spaces

Lists LiveDoc spaces (folders) in a Polarion project so you can inspect document structure and choose where to create or manage LiveDocs. Supports project selection and result limits.

Instructions

List the LiveDoc spaces (folders) of a project.

Args: project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. limit: Maximum spaces to return.

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_spaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
project_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it does disclose the useful fallback that project_id defaults to POLARION_DEFAULT_PROJECT. However, as a list operation it says nothing about ordering, pagination beyond 'limit', truncation behavior, or permissions required to enumerate spaces.

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 purpose in one sentence, then a compact Args block with no filler. The parenthetical '(folders)' is the only mildly redundant wording, but it earns its place by disambiguating 'spaces'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter list tool with an output schema (so return values needn't be explained) and both params documented, this is close to sufficient. It still leaves open how 'spaces' relate to documents or projects and what happens when a project has many spaces, which would matter to an agent choosing between listing tools.

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: it explains both parameters, and notably adds the environment-variable default (POLARION_DEFAULT_PROJECT) that the schema only shows as null. The limit parameter is described only as 'Maximum spaces to return', leaving pagination semantics unspecified.

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 the LiveDoc spaces (folders) of a project', with the parenthetical clarifying what a 'space' is. This distinguishes it from siblings like polarion_list_documents and polarion_list_projects, though it never explicitly contrasts with them.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, and no mention of when to prefer polarion_list_documents or polarion_get_document over listing spaces. The only context is the implicit prerequisite that a project scope exists, conveyed through the project_id arg.

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