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

Polarion MCP Server — 2023 兼容版

polarion_list_attachments

Retrieve all attachments for a specific Polarion work item by ID, with the project inferred when omitted. Use it to inspect files linked to an ALM item.

Instructions

List attachments of a Work Item.

Args: work_item_id: Work Item id. project_id: Project id. Inferred from the id when omitted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "work_item_id": "<work_item_id>"
    },
    "name": "polarion_list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
work_item_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/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, yet it only implies read-only via the verb 'List'. It says nothing about permissions, whether results are paginated, whether empty results are possible, or what happens with the auto-inferred project_id when inference fails. The output schema covers return shape, which limits the damage but leaves real gaps.

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-loaded purpose sentence followed by a compact Args block; nothing is padded. The Args block is slightly redundant in phrasing ('Work Item id', 'Project id') but is needed given 0% schema coverage.

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 two-parameter read tool with an output schema, the description covers purpose and both parameters including the inference behavior. The remaining omission is behavioral context (permissions, pagination, error on nonexistent work item), which matters because no annotations exist to cover it.

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 does for both parameters: work_item_id is identified and project_id is documented with a genuinely useful behavioral note that it is 'Inferred from the id when omitted.' It does not explain the fallback if inference fails, keeping it below 5.

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 attachments of a Work Item.' An agent can immediately tell it is a read/list operation scoped to one work item, distinguishing it from polarion_download_attachment or polarion_upload_attachment. It does not explicitly name a sibling to route away from, so it falls short of a 5.

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

Usage Guidelines3/5

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

There is no sentence about when to use this versus alternatives such as polarion_download_attachment or polarion_get_work_item; usage is only implied by the purpose statement. No prerequisites, no exclusions, no scenario guidance.

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