Skip to main content
Glama

Delete a knowledge space

claix.spaces.delete
DestructiveIdempotent

Delete a knowledge space owned by the API key (DELETE /delete-space/{space_id}). No body or query params. Returns { space_id } on success. Irreversible. Free call. 404 if the space does not exist or belongs to another account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key secreta de Claix. Ejemplo: claix_sk_abc123.... Opcional si la conexión MCP envía x-api-key en cabecera HTTP (recomendado en Smithery/Cursor).
space_idYesUUID del espacio de conocimiento. Es el mismo valor que se envía como space_id opcional al extraer para agrupar documentos, y el que devuelve claix.spaces.create. Ejemplo: 5b9e2c14-7d3a-4f8b-9e1c-6a0d4b8f2e7c.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoJSON payload from the Claix API (extracted records, schema list, or Excel export metadata).
errorNoHuman-readable error message when success is false.
successYesTrue when Claix returned a successful response. False when isError is set on the tool result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing that the operation is irreversible, free, returns { space_id }, and returns 404 for missing or foreign spaces. It also states that no body or query parameters are accepted, giving the agent a complete 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.

Conciseness5/5

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

The description is brief and front-loaded, with every sentence adding essential information: endpoint, ownership, response, irreversibility, cost, and error behavior. There is no fluff or repetition of schema content.

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 destructive operation with one required parameter and an output schema, the description covers all critical aspects: what is deleted, who can delete it, what happens on success and failure, and the irreversible consequence. Nothing an agent needs to invoke it correctly is missing.

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?

The input schema already has 100% coverage, including a detailed description of space_id and api_key. The tool description adds route-level context but no new parameter-specific meaning, so the baseline score of 3 is appropriate.

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 states a specific verb and resource: delete a knowledge space, constrained to one owned by the API key. It also includes the exact endpoint, making the tool's function unambiguous. It is clearly distinct from siblings like claix.spaces.create and claix.document.delete.

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?

The ownership constraint and 404 error condition make it clear which spaces are valid targets. It does not explicitly name alternative tools or say when not to use it, but the tool name and sibling context make the intended scope sufficiently clear.

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