Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcptask.online. If you published it, claim ownership there.

UpdatePieceTool

Destructive

Update the mutable attributes of an existing Task, Story, Epic or Recurent by relative_id. Only the attributes passed are changed; omitted ones are left alone. Returns before/after for each attribute touched. A dependency on another piece is declared with blocked_by_relative_ids — the updated piece waits for the ids listed there.

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": {
      "account_code": "<account_code>",
      "piece_relative_id": "<piece_relative_id>"
    },
    "name": "UpdatePieceTool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name for the piece (omit to leave unchanged)
repeat_onNoOne value: monday–friday for 1week/2weeks, a day of the month "1"–"31" for 1month. Omit to leave unchanged.
sprint_idNoDatabase ID (primary key) of the sprint to assign (not relative_id). Omit to leave unchanged.
for_errorsNoWhether this Epic is the project's bug bucket (Epic only). Omit to leave unchanged. Passing it for another piece type returns a validation error.
descriptionNoNew description for the piece (omit to leave unchanged)
account_codeYesAccount code (e.g., "bcp", "jchsoft")
repeat_afterNoRepeat a Task every 1week, 2weeks or 1month; only a Task inside an Epic or a Recurent repeats; needs repeat_on. Omit to leave unchanged; pass null (with repeat_on null or omitted) to end the repetition.
priority_codeNoPriority code. Omit to leave unchanged.
task_type_codeNoTask type code (Task only). Omit to leave unchanged.
assigned_user_idNoDatabase ID (primary key) of the user to assign. Must be a member of the piece's project; anyone else is refused with the list of project members to choose from (project_members). Omit to leave unchanged; pass 0 (or null) to explicitly unassign.
scrum_point_codeNoScrum point/complexity code (Task/Recurent: !, S, M, L, XL, XXL, XXXL; Story: m!, mS, mM, mL, mXL, mXXL, mXXXL). Omit to leave unchanged.
piece_relative_idYesRelative ID of the piece to update
parent_relative_idNoRelative ID of a parent piece in the same project. Omit to leave unchanged; pass 0 (or null) to move the piece to the project root.
blocked_by_relative_idsNoRelative IDs of the pieces this piece waits for (its blocked_by links). Additive: it only adds links — remove them with ManageBlockerLinksTool(action: "remove"); an id already linked is refused, do not re-send it. All-or-nothing: one id that does not resolve in the account rejects the whole call and creates nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / assigned_user_id / description
      Previous value: -"Database ID (primary key) of the user to assign. Omit to leave unchanged; pass 0 (or null) to explicitly unassign."New value: +"Database ID (primary key) of the user to assign. Must be a member of the piece's project; anyone else is refused with the list of project members to choose from (project_members). Omit to leave unchanged; pass 0 (or null) to explicitly unassign."
  2. Changed2 schema fields changed
    • addedInput schema / properties / repeat_after
      Added value: +{
      +  "description": "Repeat a Task every 1week, 2weeks or 1month; only a Task inside an Epic or a Recurent repeats; needs repeat_on. Omit to leave unchanged; pass null (with repeat_on null or omitted) to end the repetition.",
      +  "enum": [
      +    "1week",
      +    "2weeks",
      +    "1month"
      +  ],
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / repeat_on
      Added value: +{
      +  "description": "One value: monday–friday for 1week/2weeks, a day of the month \"1\"–\"31\" for 1month. Omit to leave unchanged.",
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
  3. First observed

TDQS

A3.9/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, so the mutation safety profile is covered. The description adds genuinely non-obvious behavior: per-attribute before/after in the response, blocked_by being additive and all-or-nothing, and that an already-linked id is refused. It doesn't spell out the destructive consequences of moving a piece or unassigning a user, which is why it isn't a 5.

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?

Four short sentences, front-loaded with the core action and the partial-update rule, then the return shape, then the one complex parameter. No filler. The last sentence slightly duplicates the schema's blocked_by text, keeping it from a 5.

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 14-parameter mutation tool with no output schema, the description covers the mutation model, the return value (before/after per attribute), and the behavior of the trickiest parameter. Combined with the exhaustive schema descriptions and destructiveHint, an agent has what it needs. The only gap is not warning about the practical effect of moves/unassignments.

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 coverage is 100% and the per-parameter descriptions already carry the subtle rules (0/null to unassign or move to root, enum values for repeat_after, validation errors for for_errors on non-Epics). The description's blocked_by sentence largely restates the schema entry, so it adds little parameter-level meaning beyond what is already documented.

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: 'Update the mutable attributes of an existing Task, Story, Epic or Recurent by relative_id'. The entity types and the identifying key make it unambiguous what it operates on. It doesn't explicitly contrast with CreatePieceTool or BlockTaskTool, but the 'existing' + 'update' framing does the disambiguation.

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

Usage Guidelines4/5

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

Makes the partial-update contract explicit ('Only the attributes passed are changed; omitted ones are left alone'), which is the main decision an agent needs. It also routes removal of dependencies to ManageBlockerLinksTool(action: "remove"), giving a real alternative for the one operation this tool can't do. No explicit when-not-to-use beyond that.

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