Skip to main content
Glama

set_fields

Destructive

Updates a Linear ticket's non-content fields—title, priority, assignee, labels, cycle, project, milestone, parent, due date, estimate, and relations—while refusing ambiguous or unauthorized changes.

Instructions

Change a ticket's fields other than its content: title, priority, assignee or delegate, labels, cycle, project, milestone, parent, due date, estimate, and relations to other tickets. The description changes only through set_state and the workflow state only through set_status. Names are resolved to ids first and the whole call is refused if any is unknown or ambiguous, so nothing is half-applied. Taking a ticket from its current assignee needs take_over; another agent's ticket, or one delegated to someone else, is refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycleNoCycle number, "current", "next", or null to remove it from its cycle
issueYesIssue identifier (e.g. ENG-123) or UUID
titleNo
blocksNoIssue identifiers this ticket blocks
parentNoParent issue identifier, or null
projectNoProject name or id, or null
assigneeNoName, display name, email or id, "me", or null to unassign
delegateNoAgent (app) user to delegate to, "me", or null to clear
due_dateNoYYYY-MM-DD, or null
estimateNo
priorityNo0 none, 1 urgent, 2 high, 3 medium, 4 low
milestoneNoMilestone name in the ticket's project (or the project set in this call), or null
take_overNoRequired to change a person's assignment to someone else
add_labelsNoLabel names on the team or workspace. Labels are not created here.
blocked_byNoIssue identifiers that block this ticket
related_toNoIssue identifiers to mark as related
remove_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 non-idempotent, so the mutation profile is known. The description adds genuinely useful behavior beyond that: all-or-nothing atomicity (names resolved first, whole call refused if any is unknown or ambiguous) and the permission rule that reassigning a person's ticket requires take_over.

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 sentences, each front-loaded and load-bearing: field scope, sibling routing, atomicity, then permission rules. Dense but no filler sentences; the field enumeration is the longest part but earns its place by scoping the tool.

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?

With an output schema present, return values need not be explained. For a 17-parameter mutation tool the description covers scope, atomicity, and permission gates well; only minor gaps remain (e.g., whether omitted fields are left untouched).

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 82%, so the schema carries most parameter meaning (baseline 3). The description supplements this by grouping the mutable fields and clarifying the take_over requirement and the assignee-refusal rule, adding semantics the schema cannot express.

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 (change) and resource (ticket fields) and immediately enumerates the field categories it covers, while explicitly excluding content and workflow state. It names the sibling tools that own those exclusions (set_state, set_status), so an agent can distinguish it without opening any 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?

Routes the agent to alternatives with conditions: description changes go through set_state and workflow state through set_status. It also gives a clear precondition for the take_over flag and states that another agent's ticket, or one delegated to someone else, is refused.

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