Skip to main content
Glama
Doist

Twist AI MCP Server

Official
by Doist

update-object

Idempotent

Modify a Twist thread, comment, or message by providing its ID. Edit thread titles or bodies, or rewrite the content of comments and direct messages.

Instructions

Update an existing Twist object. targetType: "thread" updates a thread's title and/or body; "comment" updates a thread comment's body; "message" updates a direct/group conversation message's body. Always pass targetId. content is required for "comment" and "message"; for "thread" it is optional as long as title is provided (i.e. a thread can be renamed without re-sending the body). title is only valid when targetType is "thread".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoThe new title. Only valid when targetType is "thread".
contentNoThe new content/body. Required for comments and messages; for threads, optional if title is provided.
targetIdYesThe ID of the thread, comment, or conversation message to update.
targetTypeYesThe type of object to update: thread, comment, or message.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
titleNo
contentYes
successYes
threadIdNo
channelIdNo
commentIdNo
messageIdNo
threadUrlNo
commentUrlNo
lastEditedNo
messageUrlNo
workspaceIdYes
conversationIdNo

Schema Changelog

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

  1. Changed2 schema fields changedv7.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. First observedv5.5.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already provide idempotentHint=true, readOnlyHint=false, and destructiveHint=false, so the safety profile is covered. The description adds no behavioral context beyond those hints, such as side effects, permissions, rate limits, or error behavior; it focuses on parameter applicability rather than runtime behavior.

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?

The description is compact at four sentences and front-loads the core purpose. Each sentence contributes necessary conditional logic, and it avoids filler while covering the polymorphic behavior completely.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the polymorphic behavior of targetType, the description fully covers the conditional requirements for all three object types, says targetId is always required, and clarifies the thread rename case. With a complete input schema and an output schema present, nothing needed for correct invocation is missing.

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 100%, so the baseline is 3. The description adds meaningful cross-parameter semantics: it explains how targetType drives which fields are updated, that title is only valid for threads, and that content is conditionally required. This goes beyond the individual property descriptions in the schema.

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 clearly states the tool's purpose: 'Update an existing Twist object.' It then enumerates the exact variants by targetType (thread, comment, message) and which fields each updates, distinguishing this tool from create/delete siblings in the same family.

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 gives clear conditional usage rules: when targetType is each value, which fields are required or optional, and that targetId must always be passed. It does not explicitly name alternative tools like create-thread or delete-object, but the context makes the update-vs-create/delete distinction obvious from sibling names.

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/twist-ai'

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