Skip to main content
Glama

patchLicenseAssignments

Idempotent

Update license assignments for multiple Polarion users, targeting batches or full collections; use dry-run to validate and preview changes before applying them.

Instructions

Updates the License Assignments of multiple users. (Not supported by cloud-based Polarion X.). Cardinality: targets the full collection or a batch. For a single item by ID, use patchLicenseAssignment instead. Effect: idempotent — calling it again with the same input leaves the resource in the same end state, with no additional side effects. Tip: set dry_run: true first to validate the arguments and preview the exact request without sending it to Polarion. The executor returns this preview as normal text, and as structured content when the tool declares an output schema.

Input 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.
requestBodyYesThe User(s) License Assignment body.

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. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the base bar is met; the description earns credit by explaining what idempotency means here ('same end state, no additional side effects') and by describing the dry_run preview behavior and its structured/text output. The notable gap is replacement semantics — it never says what happens to existing assignments for users not listed in the batch, which is the key risk of a collection-level patch.

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 with the purpose and the sibling disambiguation, then the constraint and tip. The dry_run sentence partially repeats the schema's own dry_run description and the output-schema remark, but overall it stays tight and readable.

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?

Covers the essentials for a nested-object batch mutation: cardinality, alternative tool, idempotency, dry_run, and the Polarion X limitation. Missing is the partial-replacement behavior of batch assignment patches and any permission prerequisites, which an agent would need before issuing a real write.

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%, with dry_run and requestBody both documented in the schema, so the baseline is 3. The description adds sequencing advice for dry_run but says nothing about the nested requestBody structure (baseSlot, addOnSlots) or how relationships must be specified in a batch.

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 (Updates) and resource (License Assignments of multiple users), and immediately names the scope of operation. It explicitly distinguishes itself from the sibling patchLicenseAssignment for single-item updates, so an agent can choose between them without opening either schema.

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?

Gives explicit cardinality guidance ('targets the full collection or a batch') and names the alternative tool plus the condition that selects it ('For a single item by ID, use patchLicenseAssignment instead'). It also prescribes a workflow: run with dry_run: true first to validate before sending.

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