Skip to main content
Glama
Doist
by Doist

update-comments

Destructive

Replace content of multiple Todoist comments at once by supplying each comment ID and its new text. Modify existing comments directly.

Instructions

Update multiple existing comments with new content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentsYesThe comments to update.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentsYesThe updated comments.
totalCountYesThe total number of comments updated.
appliedOperationsYesSummary of operations performed.
updatedCommentIdsYesThe IDs of the updated comments.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv13.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv12.6.0
    • addedOutput schema / properties / comments / items / properties / notifiedUserIds
      Added value: +{
      +  "description": "Users notified about this comment. Absent when nobody was notified.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed19 schema fields changedv12.5.3
    • removedOutput schema / properties / comments / items / properties / content / description
      Removed value: -"The content of the comment."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / description
      Removed value: -"File attachment information, if any."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileDuration / description
      Previous value: -"The duration in milliseconds (for audio/video files)."New value: +"Milliseconds, for audio/video."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileName / description
      Removed value: -"The name of the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileSize / description
      Previous value: -"The size of the file in bytes."New value: +"Bytes."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileType / description
      Previous value: -"The MIME type of the file."New value: +"MIME type."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileUrl / description
      Removed value: -"The URL to access the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / image / description
      Previous value: -"The image URL for image resource types."New value: +"For image resource types."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / imageHeight / description
      Previous value: -"The height of the image in pixels."New value: +"Pixels."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / imageWidth / description
      Previous value: -"The width of the image in pixels."New value: +"Pixels."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / resourceType / description
      Previous value: -"The type of resource (file, url, image, etc)."New value: +"file, url, image, etc."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / title / description
      Previous value: -"The title for link/url resource types."New value: +"For link/url resource types."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / uploadState / description
      Removed value: -"The upload state of the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / url / description
      Previous value: -"The URL for link/url resource types."New value: +"For link/url resource types."
    • removedOutput schema / properties / comments / items / properties / id / description
      Removed value: -"The unique ID of the comment."
    • changedOutput schema / properties / comments / items / properties / postedAt / description
      Previous value: -"When the comment was posted (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / comments / items / properties / postedUid / description
      Removed value: -"The UID of the user who posted this comment."
    • removedOutput schema / properties / comments / items / properties / projectId / description
      Removed value: -"The ID of the project this comment belongs to."
    • removedOutput schema / properties / comments / items / properties / taskId / description
      Removed value: -"The ID of the task this comment belongs to."
  4. First observedv10.4.2

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint: true, readOnlyHint: false, and idempotentHint: false. The description simply says 'update' and does not add context such as irreversibility, permission requirements, or that content will be overwritten. Since annotations cover the core behavioral traits, the description adds minimal extra transparency, warranting a score of 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that conveys all necessary information without superfluous detail. It is well-structured and directly to the point, making it highly efficient for both human and AI understanding.

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?

The description provides enough context for the tool's primary function, but it does not mention any return value or output. Given that an output schema exists (context signal indicates true), explaining return values is not required. The description adequately covers the action and purpose, though it omits any edge-case behavior or prerequisites, resulting in a score of 4.

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?

The input schema fully defines the 'comments' parameter with 'id' and 'content'. The description adds semantic clarity by specifying 'existing' comments and 'new content', which clarify that the 'id' refers to an existing comment and 'content' is the replacement text. This goes beyond the schema's basic definitions, earning a score of 4.

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 'Update multiple existing comments with new content' clearly states the action (update), the target (comments), and the specificity (multiple existing comments with new content). It effectively differentiates from sibling tools like add-comments or find-comments by indicating it modifies existing comments rather than creating or retrieving them.

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?

The description implicitly signals usage for updating existing comments, but it does not explicitly state when to use it versus alternatives. The combination of the verb 'update' and the noun 'comments' makes the purpose clear, and the sibling list includes add-comments, so differentiation is implied. However, no explicit 'use this when' guidance is provided, so a score of 4 is appropriate.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Doist/todoist-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server