Skip to main content
Glama

update_drive_file_comment

Idempotent

Update an existing comment on a Huly Drive file by providing the file path or ID, comment ID, and new body. Idempotent when content unchanged.

Instructions

Update a comment on a Drive file resolved by filePath or fileId. Provide only one locator. Idempotent when the comment body is unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
driveYesa string that will be trimmed
filePathNoa string that will be trimmed
fileIdNoa string that will be trimmed
commentIdYesa string that will be trimmed
bodyYesa string that will be trimmed

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesThe successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent.
warningsNoOptional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload.
Behavior3/5

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

Annotations already provide readOnlyHint, destructiveHint, and idempotentHint. The description adds that idempotency holds only when the comment body is unchanged, which is a useful nuance. However, it does not disclose other behavioral traits such as permissions or side effects.

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 extremely concise with two sentences. The first sentence front-loads the purpose, and the second adds constraints and idempotency. No redundant information.

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?

Given the complexity of 5 parameters with mutual exclusivity, the description covers the main purpose and constraint. It mentions idempotency condition. An output schema exists, so return details are covered. Some additional context about the 'drive' parameter could improve completeness, but overall it is sufficient.

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?

The input schema has generic descriptions ('a string that will be trimmed'). The description clarifies the roles of filePath and fileId as alternative locators and the constraint to provide only one. However, it does not explain the 'drive' parameter or provide detailed semantics for each parameter.

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 verb 'Update', the resource 'comment on a Drive file', and the resolution method 'by filePath or fileId'. It distinguishes from generic comment updates by specifying the Drive context and adds the constraint to provide only one locator.

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

Usage Guidelines3/5

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

The description provides a guideline to provide only one locator, but does not explicitly state when to use this tool versus alternatives like add_drive_file_comment or update_comment. It lacks explicit when-to-use/not-to-use guidance.

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/dearlordylord/huly-mcp'

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