Skip to main content
Glama

MySaaS Blog

Archive draft

post_archive_draft
Destructive

Archive an unpublished draft created by mistake. Published and scheduled posts cannot be archived through this tool.

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": {
      "postId": "<postId>"
    },
    "name": "post_archive_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
idempotencyKeyNoOptional retry key. Reuse the same key with the same payload to deduplicate agent retries.

Output Schema

NameRequiredDescriptionDefault
archivedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is carried by structured data. The description adds the useful eligibility constraint about published/scheduled posts, but is silent on what 'archive' actually does to the draft, whether it is reversible or recoverable, and on permission requirements.

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 zero filler; the scope constraint is front-loaded right after the verb+resource statement. Nothing needs trimming and nothing buries the key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be described, and the eligibility rule is covered. For a destructive mutation, however, the definition leaves out reversibility of archiving and guidance on the undocumented postId parameter, which are material for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 50%: idempotencyKey is documented in the schema, but postId has no description anywhere. The description only hints that the ID must reference a draft; it says nothing about ID format, where to obtain it, or how idempotencyKey interacts with the declared idempotentHint=false.

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?

States a specific verb (archive) and a specific resource (an unpublished draft), plus the motivating case 'created by mistake.' It implicitly separates itself from publish/schedule siblings by declaring that published and scheduled posts cannot be archived here, though no sibling tool is named as the alternative.

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?

Gives a clear when-to-use condition ('a draft created by mistake') and an explicit exclusion ('published and scheduled posts cannot be archived through this tool'). It stops short of naming which tool an agent should reach for instead (e.g. unpublish or update) when the target is published or scheduled.

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