Skip to main content
Glama

update_inventory_product_comment

Idempotent

Update a comment on an inventory product. Provide product identifier, comment ID, and new body with markdown support.

Instructions

Update a comment attached directly to an inventory product. The commentId must belong to the resolved product.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYesInventory product ID or exact product name. Pass category when duplicate product names may exist.
categoryNoOptional category ID or exact category name used to disambiguate duplicate product names.
commentIdYesProduct comment ID. Must belong directly to the resolved inventory product.
bodyYesComment body. Markdown is supported.

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 declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the description is not needed for those. The description adds a behavioral constraint: 'The commentId must belong to the resolved product', which is useful. However, it does not disclose other behavior like permissions, side effects, or whether the update replaces or merges with existing content.

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 exceptionally concise with two sentences. The first sentence clearly states the purpose, and the second provides a critical constraint. Every word serves a purpose with no unnecessary 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 presence of an output schema and annotations, the description is fairly complete for a simple update mutation. It covers the core operation and a key constraint. However, it could improve by specifying what the tool returns (e.g., the updated comment) and any side effects, but the output schema likely handles that.

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 description coverage is 100%, so the schema itself documents all parameters. The tool description does not add new parameter-level semantics beyond restating the constraint on commentId, which is already in the schema. No additional meaning is provided for 'product', 'category', or 'body'.

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?

The description clearly states the verb 'Update' and the resource 'comment attached directly to an inventory product'. It adds a specific constraint that the commentId must belong to the resolved product. However, it does not explicitly differentiate from sibling update tools like update_comment or update_drive_file_comment, though the resource specificity helps.

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

Usage Guidelines2/5

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

The description lacks any guidance on when to use this tool versus alternatives like add_inventory_product_comment or update_comment. It does not mention prerequisites, such as the product and comment must exist, nor does it provide context about use cases or when to avoid this tool.

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