Skip to main content
Glama

CodePress Sites

Delete guest site

delete_guest_site
DestructiveIdempotent

Withdraws public serving and schedules stored-file deletion. Requires the separate manage capability and an explicit user deletion request. A repeated operation_id returns the same result. Guest deletion grants no App access.

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": {
      "guest_id": "<guest_id>",
      "manage_capability": "<manage_capability>",
      "operation_id": "<operation_id>",
      "expected_generation": "<expected_generation>"
    },
    "name": "delete_guest_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
guest_idYes
operation_idYes
manage_capabilityYes
expected_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=true, and the description adds real substance beyond them: deletion is deferred ("schedules stored-file deletion") rather than immediate, an authorization precondition applies, and re-invocation with the same operation_id is safe. The idempotency restatement overlaps the annotation, and the "grants no App access" clause is terse, but overall it materially enriches the behavioral picture.

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?

Four short sentences with the primary effect front-loaded and no filler. The only weakness is that the final clause ("Guest deletion grants no App access") is compressed to the point of ambiguity in what it means operationally.

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?

This is a destructive, open-world mutation with no output schema and zero schema description coverage, so the description needs to do heavy lifting. It covers destruction scope and authorization well, but omits any mention of 'expected_generation', which is essential to calling the tool without a stale-write failure — a meaningful completeness gap for a tool of this risk.

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 0% and all four parameters are required, so the description carries the full burden — yet it explains only two loosely. It hints that 'manage_capability' is a separate credential and that 'operation_id' drives idempotency, but 'expected_generation' (clearly a concurrency/optimistic-locking token) and 'guest_id' are never mentioned, leaving the agent to guess at the most error-prone field.

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?

The description opens with a concrete verb and effect: "Withdraws public serving and schedules stored-file deletion." That tells an agent exactly what the operation does to the resource, and the phrase "Guest deletion grants no App access" further scopes its effect. It does not explicitly name a sibling alternative (e.g. publish_guest_site), so it stops short of full differentiation.

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 states a clear precondition: the caller must hold the separate manage capability and there must be an explicit user deletion request. That effectively defines when this tool should be invoked and warns against speculative use. It stops short of naming a competing tool to use in other situations, but the usage context is unambiguous.

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.