Skip to main content
Glama

Archive multiple reports

archive_reports
Destructive

Archive several reports by ID in one call. They go to the archive, not away — list_archive shows them and restore_from_archive brings them back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_idsYesReport IDs to archive (from list_reports)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoConfirmation of the archive and how many reports it covered.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / ids
      Removed value: -{
      -  "description": "Array of report IDs to archive (from list_reports)",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / report_ids
      Added value: +{
      +  "description": "Report IDs to archive (from list_reports)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "ids"
      -]New value: +[
      +  "report_ids"
      +]
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "Confirmation of the archive and how many reports it covered."
      +    },
      +    "success": {
      +      "description": "True when the call succeeded. A failure comes back as an error result instead.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds meaningful context that archiving is reversible and not permanent deletion, pointing to the complementary tools for viewing and restoring. This goes beyond the structured annotation and helps the agent understand the full impact of the operation.

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 short sentences with no wasted words. The purpose is stated first, followed by a clarifying note about the effect. It is well-structured and immediately understandable.

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 a simple one-parameter tool with an output schema present, the description covers the action, the scope, and the behavioral nuance (reversibility). An agent has everything needed to decide when to call it and what to expect, without needing to inspect the schema.

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 sole parameter report_ids is fully described in the schema with 'Report IDs to archive (from list_reports)'. The tool description adds no further detail about the parameter, so with 100% schema coverage the baseline of 3 applies.

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 states a clear verb (archive), resource (reports), and scope (multiple reports by ID in one call). It distinguishes itself from the singular sibling archive_report by emphasizing batch operation, and clarifies the semantic that items are not deleted ('not away').

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

Usage Guidelines4/5

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

It clearly indicates the tool is for archiving multiple reports in a single call, and the second sentence implies when it is appropriate by noting that archived reports remain accessible via list_archive and restore_from_archive. However, it does not explicitly say to use archive_report for single reports, though the plural/singular distinction is implied.

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