Skip to main content
Glama
Doist

Twist AI MCP Server

Official
by Doist

update-object

Idempotent

Modify a Twist thread's title or body, a comment's body, or a message's body by specifying the target type and ID. Update thread title without providing body content.

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
Behavior4/5

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

The description adds value beyond annotations by detailing update behavior per targetType and parameter dependencies. Annotations already indicate idempotent and non-destructive, and the description confirms these traits while adding operational context.

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 dense but efficient, front-loading the purpose and then detailing each case. It could be slightly more structured to improve readability, but every sentence adds value.

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 presence of an output schema and the tool's moderate complexity, the description covers all relevant scenarios (three target types, parameter dependencies, optionality) without gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the description still adds significant meaning by clarifying relationships (e.g., 'content is required for comments and messages; for threads optional if title provided') and constraints ('Always pass targetId'), surpassing the schema alone.

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 'Update an existing Twist object' and specifies the three target types (thread, comment, message) with distinct update behaviors, effectively distinguishing from sibling tools like create-thread or delete-object.

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 provides explicit guidance on when to use each targetType and parameter combinations, such as 'Always pass targetId' and conditions for content and title, but does not explicitly state when not to use the tool or mention alternatives.

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

Install Server

Other Tools

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