Skip to main content
Glama

restore_comments

Brings archived comments back to the active pile using their comment IDs, so previously hidden feedback can be reviewed and handled again.

Instructions

Put archived comments back on the pile (find them with list_comments archived: "only"). OWNER ONLY: call this only when the owner explicitly asks you to in this conversation, never on your own initiative.

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": {
      "ids": "<ids>"
    },
    "name": "restore_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key traits: this is a mutation (restore), it requires owner authorization, and the agent must not act autonomously. It does not say what happens when an ID is not archived or whether the operation is all-or-nothing across the ids array, which keeps it short of a 5.

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?

Two sentences, purpose first, discovery hint in parentheses, hard constraint second. Nothing redundant and nothing buried.

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 single-parameter mutation with no annotations or output schema, the description covers purpose, ID provenance, and authorization. Only failure-mode behavior (unarchived IDs, partial success) is absent, which is a minor gap.

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?

One parameter with 0% schema description coverage, so the description must compensate. It does imply the ids are archived comment identifiers and points to list_comments as the source, but it gives no format or type guidance beyond the schema's own "comment number, as shown: 12".

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?

States a specific verb and resource ("Put archived comments back") and names the sibling, list_comments, that supplies the IDs. An agent can distinguish it from delete_comment or edit_comment without opening any schema.

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

Usage Guidelines5/5

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

Gives both the discovery path (find them with list_comments archived: "only") and an explicit when-to-use restriction (only when the owner explicitly asks in this conversation, never on your own initiative). Alternatives and exclusions are both covered.

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