Skip to main content
Glama

Archive Topic

archive_topic
Destructive

Archive one research Topic by topicId; a brand Site ID is refused. Read get_topic first. Leaves list_sites_and_topics, pauses its scan schedule and refuses later edits and Scan starts with site_archived; saved details and reports stay readable. Refused with scan_running while a Scan is in progress; wait for it to finish. There is no restore through MCP, so obtain explicit user confirmation first. Returns alreadyArchived:true if already archived. No Scan is launched or Scan allowance spent. The site result field retains the shared subject identity. After an uncertain result inspect get_topic(topicId).topic.archivedAt before deciding whether to retry; the archive may have committed before readback failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
summaryYes
alreadyArchivedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only give destructiveHint/readOnlyHint/openWorldHint, but the description adds substantial behavioral detail: it leaves list_sites_and_topics, pauses the scan schedule, refuses later edits and Scan starts with site_archived, is blocked by scan_running, spends no Scan allowance, returns alreadyArchived:true, and requires an explicit confirmation because there is no restore. This is exactly the extra context a mutating tool needs.

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?

Front-loaded with the core action, and nearly every clause adds a distinct constraint. It is dense and clause-heavy (multiple semicolon-separated ideas in one paragraph), which slightly taxes scanability, but little is wasted.

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?

For an irreversible, destructive archive operation with an output schema already handling return shape, the description covers blocking conditions, side effects, confirmation requirements, idempotency, and failure recovery. Nothing an agent needs before calling it is missing.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry parameter meaning, and it does: it clarifies the single topicId must be a Topic identifier and that a Site ID is refused, plus that this is the idempotency/readback key for uncertain results. Format details (uuid) live in the schema, so a 4 rather than 5.

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?

Opens with a precise verb+resource+scope: 'Archive one research Topic by topicId', immediately distinguishing it from the sibling archive_site/archive_client/archive_recommendation tools. It even states what is rejected (a brand Site ID), so an agent knows exactly which identifier is valid.

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?

Names explicit prerequisites and alternatives: 'Read get_topic first', the scan_running refusal condition with the remedy ('wait for it to finish'), the mandatory user confirmation because there is no MCP restore, and an uncertain-result recovery path via get_topic(topicId).topic.archivedAt. When-to-use, when-blocked, and next-step are all covered.

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.

Resources