Skip to main content
Glama

Hide or unhide comment

hide_comment
DestructiveIdempotent

Hide or unhide a comment (hidden:true hides it, false restores it; platforms do not support deleting other people's comments). Available only on platforms that support it; others return 409. (Required scope: cd.engagement.manage)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accountId": "<accountId>",
      "commentId": "<commentId>",
      "hidden": "<hidden>",
      "confirm": "<confirm>"
    },
    "name": "hide_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiddenYes
confirmYestrue = the user has approved this specific action. Without it the request is rejected with 409 AGENT_USER_CONFIRMATION_REQUIRED.
accountIdYes
commentIdYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare mutation, idempotence, open-world, and destructive behavior; the description adds concrete operational context: hidden:false restores, unsupported platforms return 409, and scope cd.engagement.manage is required. It omits the confirmation requirement, but that is documented in the schema rather than needed here.

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 definition is front-loaded and compact, with the action and semantics in the first clause and platform/scope constraints immediately after. The parenthetical is dense but earns its place by clarifying restore behavior and the no-delete limitation.

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?

For a five-parameter mutation with annotations and no output schema, the description covers the key behavioral risks: reversibility, unsupported-platform response, scope, and the no-deletion limitation. Confirmation required for execution is covered by the schema, so remaining omissions are minor.

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 coverage is only 40%, and the description compensates for the undocumented hidden field by explaining true/false semantics. accountId and commentId remain unexplained, while workspaceId and confirm are already described in the schema, leaving partial compensation.

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 names a specific resource and two explicit actions (hidden:true hides, false restores), so the agent knows exactly what the tool changes. It also distinguishes this from deletion by noting platforms do not support deleting other people's comments, though it does not name a sibling alternative.

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?

It supplies a clear platform-support precondition and required scope, and the hidden:true/false parenthetical clarifies the two modes. It does not explicitly say when to choose this over list/reply tools or what to do when a platform returns 409 beyond the error signal.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.