Skip to main content
Glama
phillipboesger

Polarion MCP Server

markProject

Registers an existing repository folder as a Polarion project via asynchronous job. Poll the returned job until completion to confirm.

Instructions

Registers an existing repository folder as a Polarion project (the inverse of unmarkProject): requestBody names the repository location, the new projectId, its trackerPrefix, and optionally a templateId. Runs as an asynchronous job and returns a jobs resource; poll getJob until it finishes. Use it to re-attach project data that already exists in the repository; to create a brand-new project use createProject. Effect: triggers a server-side action rather than a plain resource creation — whether repeating it is safe, a no-op, or rejected depends on the specific action; treat it as not guaranteed idempotent. Tip: set dry_run: true first to preview the exact request Polarion would receive, without changing anything. On tools with a typed output schema, this preview is returned as an error-flagged result since it is not real tool output -- read the text content regardless of that flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoIf true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it.
requestBodyYesCreate project parameters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / dry_run / description
      Previous value: -"If true, validate and return the request that would be sent without calling Polarion."New value: +"If true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it."
  2. Changed1 schema field changedv1.1.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "properties": {
      +        "attributes": {
      +          "properties": {
      +            "jobId": {
      +              "example": "example",
      +              "type": "string"
      +            },
      +            "name": {
      +              "example": "example",
      +              "type": "string"
      +            },
      +            "state": {
      +              "example": "example",
      +              "type": "string"
      +            },
      +            "status": {
      +              "properties": {
      +                "message": {
      +                  "example": "message",
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "OK",
      +                    "CANCELLED",
      +                    "FAILED",
      +                    "UNKNOWN"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "id": {
      +          "example": "MyJobId",
      +          "type": "string"
      +        },
      +        "links": {
      +          "properties": {
      +            "downloads": {
      +              "example": [
      +                "https://example.com/polarion/download/filename1",
      +                "https://example.com/polarion/download/filename2"
      +              ],
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "log": {
      +              "example": "server-host-name/application-path/polarion/job-report?jobId=MyJobId",
      +              "type": "string"
      +            },
      +            "self": {
      +              "example": "server-host-name/application-path/jobs/MyJobId",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "relationships": {
      +          "properties": {
      +            "document": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyProjectId/MySpaceId/MyDocumentId",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "documents"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "documents": {
      +              "properties": {
      +                "data": {
      +                  "items": {
      +                    "properties": {
      +                      "id": {
      +                        "example": "MyProjectId/MySpaceId/MyDocumentId",
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "enum": [
      +                          "documents"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "project": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyProjectId",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "projects"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": {
      +          "enum": [
      +            "jobs"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "If true, validate and return the request that would be sent without calling Polarion.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / requestBody / properties / params / description
      Previous value: -"params of new Project to be created."New value: +"Parameters of new Project to be created."
  4. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Description discloses async job execution, return of jobs resource, need to poll getJob, and non-idempotent behavior, which go beyond the annotations. Also explains dry_run's error-flagged result.

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?

The description is somewhat long but each sentence adds distinct value: purpose, async execution, usage distinction, idempotency caveat, and dry_run tip. It is front-loaded with the core purpose.

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?

Covers operation semantics, async nature, idempotency uncertainty, dry_run workflow, and directs to sibling tools. Output exists as schema. For a complex non-idempotent operation, this is thorough.

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 already covers all parameters with descriptions (100% coverage). The description paraphrases the requestBody fields but adds context that location is a repository folder and projectId is new, though this is marginal. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Registers an existing repository folder as a Polarion project', and explicitly contrasts with unmarkProject and createProject. This distinguishes it from sibling tools clearly.

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?

Explicitly says 'Use it to re-attach project data that already exists in the repository; to create a brand-new project use createProject' and notes it's the inverse of unmarkProject. Also gives async polling guidance and dry_run tip.

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

Deploy Server

Other Tools