Skip to main content
Glama

Set Project Archived

set_project_archived
DestructiveIdempotent

Archive or restore a project. Archiving also archives and hides its tests. Confirm with the user first.

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": {
      "projectId": "<projectId>",
      "archived": "<archived>"
    },
    "name": "set_project_archived"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedYes
projectIdYes

Output Schema

NameRequiredDescriptionDefault
nameNo
deletedNo
projectIdYes
archivedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds a genuinely non-obvious side effect: archiving cascades to the project's tests and hides them. It also adds a procedural safety constraint (user confirmation) absent from the annotations. It stops short of saying whether restoring un-hides previously archived tests, which is the main remaining behavioral ambiguity.

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?

Three short sentences, front-loaded with the action before the side effect and then the safety instruction. No redundant restatement of the tool name or of annotation-provided safety hints.

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?

An output schema exists, so return values need no explanation, and the annotations cover safety and idempotency. The description supplies the cascade behavior and the confirmation requirement, which is most of what matters for a two-parameter destructive toggle; only the asymmetry of restore versus archive effects on tests is left unclear.

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 description coverage is 0%, so the description must carry the parameter meaning. It implicitly maps 'archive or restore' to the boolean 'archived' flag, which is useful, but it says nothing about the projectId parameter (a 24-character hex id) or where an agent should obtain it.

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 pair and resource ('Archive or restore a project'), so the agent knows both directions of the toggle. It is clearly a lighter-weight alternative to the sibling delete_project, but it never names that sibling explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The description gives one concrete usage rule — 'Confirm with the user first' — which is meaningful for a destructive operation. However it offers no guidance on when to archive versus when to permanently delete a project, nor any prerequisites or recovery path, leaving the key alternative decision to inference.

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