Skip to main content
Glama
phillipboesger

Polarion MCP Server

getPlan

Read-only

Retrieve a specific Polarion plan by ID, optionally selecting fields, embedding related resources, or reading a past revision.

Instructions

Returns the specified Plan. Cardinality: targets a single item by ID. For the full collection or a batch, use getPlans instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoSparse fieldset selector: an object keyed by resource type (e.g. `workitems`) whose value is a comma-separated list of attribute names to return (e.g. `id,title,status`), reducing payload size. Omit to return the default field set.
planIdYesThe Plan ID.
includeNoComma-separated list of related resource types to embed in the response (e.g. `author,attachments`) so they don't require a separate follow-up call. Omit to return only the primary resource.
revisionNoA specific repository revision (e.g. `1234`) to read the resource as it existed at that revision instead of the current HEAD. Omit to use the latest revision.
projectIdYesThe Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project; call getProjects to list valid IDs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
linksNo
includedNoRelated entities might be returned, see <a href="https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • changedInput schema / properties / fields / description
      Previous value: -"Filter returned resource fields. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."New value: +"Sparse fieldset selector: an object keyed by resource type (e.g. `workitems`) whose value is a comma-separated list of attribute names to return (e.g. `id,title,status`), reducing payload size. Omit to return the default field set."
    • changedInput schema / properties / include / description
      Previous value: -"Include related entities. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."New value: +"Comma-separated list of related resource types to embed in the response (e.g. `author,attachments`) so they don't require a separate follow-up call. Omit to return only the primary resource."
    • changedInput schema / properties / projectId / description
      Previous value: -"The Project ID."New value: +"The Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project; call getProjects to list valid IDs."
    • changedInput schema / properties / revision / description
      Previous value: -"The revision ID."New value: +"A specific repository revision (e.g. `1234`) to read the resource as it existed at that revision instead of the current HEAD. Omit to use the latest revision."
  2. Changed1 schema field changedv1.1.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "properties": {
      +        "attributes": {
      +          "properties": {
      +            "allowedTypes": {
      +              "items": {
      +                "example": "optionId",
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "calculationType": {
      +              "enum": [
      +                "timeBased",
      +                "customFieldBased"
      +              ],
      +              "example": "timeBased",
      +              "type": "string"
      +            },
      +            "capacity": {
      +              "type": "number"
      +            },
      +            "color": {
      +              "example": "Color",
      +              "type": "string"
      +            },
      +            "created": {
      +              "example": "1970-01-01T00:00:00Z",
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "defaultEstimate": {
      +              "type": "number"
      +            },
      +            "description": {
      +              "properties": {
      +                "type": {
      +                  "enum": [
      +                    "text/plain"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "example": "My text value",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "dueDate": {
      +              "example": "1970-01-01",
      +              "format": "date",
      +              "type": "string"
      +            },
      +            "estimationField": {
      +              "example": "Estimation Field",
      +              "type": "string"
      +            },
      +            "finishedOn": {
      +              "example": "1970-01-01T00:00:00Z",
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "homePageContent": {
      +              "properties": {
      +                "type": {
      +                  "enum": [
      +                    "text/html",
      +                    "text/plain"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "example": "My text value",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "id": {
      +              "example": "ID",
      +              "type": "string"
      +            },
      +            "isTemplate": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "example": "Name",
      +              "type": "string"
      +            },
      +            "previousTimeSpent": {
      +              "example": "5 1/2d",
      +              "type": "string"
      +            },
      +            "prioritizationField": {
      +              "example": "Prioritization Field",
      +              "type": "string"
      +            },
      +            "sortOrder": {
      +              "example": 0,
      +              "format": "int32",
      +              "type": "integer"
      +            },
      +            "startDate": {
      +              "example": "1970-01-01",
      +              "format": "date",
      +              "type": "string"
      +            },
      +            "startedOn": {
      +              "example": "1970-01-01T00:00:00Z",
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "status": {
      +              "type": "string"
      +            },
      +            "updated": {
      +              "example": "1970-01-01T00:00:00Z",
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "useReportFromTemplate": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "id": {
      +          "example": "MyProjectId/MyPlanId",
      +          "type": "string"
      +        },
      +        "links": {
      +          "properties": {
      +            "portal": {
      +              "example": "server-host-name/application-path/polarion/redirect/project/MyProjectId/plan?id=MyPlanId&revision=1234",
      +              "type": "string"
      +            },
      +            "self": {
      +              "example": "server-host-name/application-path/projects/MyProjectId/plans/MyPlanId?revision=1234",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "meta": {
      +          "properties": {
      +            "errors": {
      +              "items": {
      +                "properties": {
      +                  "detail": {
      +                    "description": "Human-readable explanation specific to this occurrence of the problem.",
      +                    "example": "Unexpected token, BEGIN_ARRAY expected, but was : BEGIN_OBJECT (at $.data)",
      +                    "type": "string"
      +                  },
      +                  "source": {
      +                    "properties": {
      +                      "parameter": {
      +                        "description": "String indicating which URI query parameter caused the error.",
      +                        "example": "revision",
      +                        "type": "string"
      +                      },
      +                      "pointer": {
      +                        "description": "JSON Pointer to the associated entity in the request document.",
      +                        "example": "$.data",
      +                        "type": "string"
      +                      },
      +                      "resource": {
      +                        "description": "Resource causing the error.",
      +                        "properties": {
      +                          "id": {
      +                            "example": "MyProjectId/id",
      +                            "type": "string"
      +                          },
      +                          "type": {
      +                            "example": "type",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "type": "object"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "status": {
      +                    "description": "HTTP status code applicable to this problem.",
      +                    "example": "400",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Short, human-readable summary of the problem.",
      +                    "example": "Bad Request",
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "relationships": {
      +          "properties": {
      +            "author": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyUserId",
      +                      "type": "string"
      +                    },
      +                    "revision": {
      +                      "example": "1234",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "users"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "parent": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyProjectId/MyPlanId",
      +                      "type": "string"
      +                    },
      +                    "revision": {
      +                      "example": "1234",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "plans"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "project": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyProjectId",
      +                      "type": "string"
      +                    },
      +                    "revision": {
      +                      "example": "1234",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "projects"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "projectSpan": {
      +              "properties": {
      +                "data": {
      +                  "items": {
      +                    "properties": {
      +                      "id": {
      +                        "example": "MyProjectId",
      +                        "type": "string"
      +                      },
      +                      "revision": {
      +                        "example": "1234",
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "enum": [
      +                          "projects"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "totalCount": {
      +                      "format": "int32",
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "template": {
      +              "properties": {
      +                "data": {
      +                  "properties": {
      +                    "id": {
      +                      "example": "MyProjectId/MyPlanId",
      +                      "type": "string"
      +                    },
      +                    "revision": {
      +                      "example": "1234",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "plans"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "workItems": {
      +              "properties": {
      +                "data": {
      +                  "items": {
      +                    "properties": {
      +                      "id": {
      +                        "example": "MyProjectId/MyWorkItemId",
      +                        "type": "string"
      +                      },
      +                      "revision": {
      +                        "example": "1234",
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "enum": [
      +                          "workitems"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "totalCount": {
      +                      "format": "int32",
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "revision": {
      +          "example": "1234",
      +          "type": "string"
      +        },
      +        "type": {
      +          "enum": [
      +            "plans"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "included": {
      +      "description": "Related entities might be returned, see <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a>.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "links": {
      +      "properties": {
      +        "self": {
      +          "example": "server-host-name/application-path/projects/MyProjectId/plans/MyPlanId?revision=1234",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"Filter returned resource fields. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20231017526942799.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."New value: +"Filter returned resource fields. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
    • changedInput schema / properties / include / description
      Previous value: -"Include related entities. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20231017526942799.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."New value: +"Include related entities. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
  4. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds the 'single item by ID' limiting scope, which is useful. But it doesn't specify return format or error conditions, though output schema exists. No contradiction.

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?

Two sentences with zero waste. The primary purpose and cardinality are front-loaded, and the alternative is clearly stated. Ideal structure for quick agent parsing.

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?

For a simple get-by-ID tool with rich output schema and strong annotations, the description is mostly complete. Could add a note about required fields or error handling, but the schema already covers required fields. Minor gap: no mention of revision or include usage, but those are optional and self-documenting.

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 100%, so the schema fully documents all parameters. The description does not add extra parameter details beyond what's in the schema, but it correctly implies the need for both projectId and planId to target a single item. Baseline 3 applicable.

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 it returns a single Plan by ID, using specific verbs and resource. It explicitly distinguishes itself from getPlans for collection/batch operations, which is critical given the sibling tool list.

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?

It explicitly states when to use this tool (single item by ID) versus when to use getPlans for full collection/batch. However, it doesn't mention when not to use it for related resource embedding, but the schema covers that via include parameter.

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