Skip to main content
Glama

workspace__DeleteSite

Deletes a specified site by project ID and site ID, supporting removal of unused or obsolete site resources.

Instructions

[WORKSPACE] 用于删除站点的接口。

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": {
      "project_id": "<project_id>",
      "site_id": "<site_id>"
    },
    "name": "workspace__DeleteSite"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYes站点ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden for a destructive operation — yet it says nothing about irreversibility, cascading effects on associated site networks or configs, required permissions, or confirmation requirements. For a delete tool this is a serious omission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but wastes its only slot restating the name; this is under-specification rather than genuine conciseness. No front-loaded consequence or scope information is present.

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

Completeness1/5

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

For a destructive two-parameter deletion tool with no annotations and no output schema, the description omits everything an agent needs: what gets destroyed, whether it is reversible, and what the response indicates. It is not adequate for the tool's risk profile.

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 100%, with both project_id and site_id documented in the schema as path parameters with examples and length constraints. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description reads "用于删除站点的接口" — an interface for deleting a site — which is a direct restatement of the tool name DeleteSite rather than an explanation of it. The [WORKSPACE] prefix gives domain context, but nothing distinguishes this from a generic delete, nor from the many sibling delete tools.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all: no prerequisites, no conditions, no mention of alternatives such as workspace__AddSite for the inverse operation. An agent must infer everything from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools