Skip to main content
Glama

Archive a draft

content_archive

[writes flayr data · write scope] Soft-archives an uncommitted draft or failed generation. Keeps its content and media; Restore is available in the Library Archive view. Repeating the call is safe. Refused (409) for ready, staged, scheduled or published content, or any posting queue, post or approval history. Needs write scope and the same owner/admin authority as Library archive. A brand-bound connection only reaches its own brand. Was archive_content (still callable for one release). (Wraps POST /api/v2/content/{id}/archive.)

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": {
      "id": "<id>"
    },
    "name": "content_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123". Content id from GET /api/v2/content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses that the archive is soft and reversible, that media is retained, the precise 409 refusal conditions, the write-scope and owner/admin authority requirement, and the brand-bound scoping rule. The one nuance worth noting is 'Repeating the call is safe' versus idempotentHint=false; read as a safety (non-error) claim rather than a strict idempotency claim this is consistent, but the wording is loose.

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 content is dense but well front-loaded: action, then reversibility, then idempotency, then refusal conditions, then authority and scoping. The trailing parenthetical about the wrapped endpoint and the legacy alias are extras, though both are operationally useful rather than filler.

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 one-parameter mutation with no output schema, the description covers everything an agent needs: preconditions, failure modes, authorization, tenancy scoping, reversibility, and repeat-call behavior. There is no meaningful gap left for the agent to guess at before invoking it.

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 100% for the single 'id' parameter, including the example format and the source endpoint, so the schema already carries the semantics. The description adds nothing further about the id beyond confirming the call targets one content item, which is the expected baseline of 3.

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 gives a specific verb and narrows the resource: 'Soft-archives an uncommitted draft or failed generation.' It immediately distinguishes itself from a hard delete by noting 'Keeps its content and media,' and it even resolves the legacy name 'archive_content' so an agent can match either identifier.

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?

It states exactly when the call applies (uncommitted drafts, failed generations) and when it will be refused with a 409 (ready, staged, scheduled, published content, posting queue, posts, approval history). It also names the recovery path — Restore in the Library Archive view — so the agent knows the fallback rather than assuming a sibling tool.

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