Skip to main content
Glama

updateAssignment

Destructive

Change the dates or seats of an assignment, whether it covers the entire resource, or move it to another resource of the same location; omitted fields keep their current values. Returns the updated assignment. Send endDate null to make it open-ended. The customer cannot be changed: delete the assignment and create a new one. Get assignmentId from getAssignments. Never invent UUIDs; only use values from prior tool responses.

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": {
      "assignmentId": "<assignmentId>",
      "assignment": "<assignment>"
    },
    "name": "updateAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
assignmentYes
assignmentIdYesThe id of the assignment.

Output Schema

NameRequiredDescriptionDefault
assignmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real substance on top: patch semantics (omitted fields keep current values), the same-location constraint on resource moves, and the endDate=null open-ended rule. It does not explain what a move does to preserved fields or any permission requirements, so it stops just short of full disclosure.

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?

Three dense sentences with the mutation scope front-loaded and no filler. The first sentence is a long compound clause that takes a second read, which is the only structural weakness.

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?

An output schema exists, so return values need not be described, and the definition covers mutation scope, patch semantics, constraints, and ID sourcing. Missing only permission/auth context and the effect of a resource move on other fields, which are minor for a well-annotated update tool.

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 coverage is 50% and the nested assignment object itself has no description, but the description compensates with two constraints absent from the schema: omitted fields retain current values, and a moved resourceRef must be in the same location. It also reinforces the null endDate case that the schema documents. The top-level assignmentId parameter is covered via the getAssignments pointer.

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 opens with a specific verb plus resource and enumerates exactly what is mutable (dates, seats, entire-resource flag, resource move), which cleanly separates it from createAssignment and deleteAssignment in the sibling list. An agent can identify the operation without opening the 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?

It states prerequisites (get assignmentId from getAssignments), an explicit when-not with the alternative path (the customer cannot be changed: delete then create), and the ID provenance rule against inventing UUIDs. That is when-to-use, when-not-to-use, and the alternative all in one short block.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources