Skip to main content
Glama

delete_endpoint

⚠️ DESTRUCTIVE: Permanently delete an endpoint. Cannot be undone. Only works for agent-created endpoints. PATs are preferred and require mcp:endpoints:write or mcp:*.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe unique slug identifier for the endpoint to delete
apiKeyNoLegacy endpoint API key (x402_*)
confirmYesMust be true to confirm deletion
accessTokenNoYour dashboard MCP personal access token (sgl_pat_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accessToken
      Added value: +{
      +  "description": "Your dashboard MCP personal access token (sgl_pat_*)",
      +  "type": "string"
      +}
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (x402_*)"New value: +"Legacy endpoint API key (x402_*)"
    • changedInput schema / required
      Previous value: -[
      -  "slug",
      -  "apiKey",
      -  "confirm"
      -]New value: +[
      +  "slug",
      +  "confirm"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (sk_live_* or sk_test_*)"New value: +"Your endpoint API key (x402_*)"
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so exceptionally. It discloses the destructive nature ('DESTRUCTIVE', 'Permanently delete', 'Cannot be undone'), the precondition (agent-created endpoints), and auth requirements. This is exactly the behavioral context needed for a destructive tool.

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 extremely concise: two sentences, with the critical warning front-loaded. Every word earns its place, covering purpose, danger, prerequisite, and auth in a compact form.

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 tool, the description covers all essential context: what it does, irreversibility, scope limitation, and required permissions. No output schema exists, but the description's coverage of prerequisites and effects is sufficiently complete for an agent to invoke it correctly.

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 coverage is 100%, so parameters are well-documented in the schema itself. The description adds no direct parameter semantics beyond mentioning PAT preference, which slightly enriches accessToken. However, it does not compensate or add significant meaning beyond the schema.

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 (delete) and resource (endpoint) with a clear scope ('agent-created endpoints'). It also conveys irreversibility, distinguishing it from non-destructive endpoint tools like update_endpoint or get_endpoint_details.

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

Usage Guidelines5/5

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

The description provides explicit usage conditions: only works for agent-created endpoints, and requires mcp:endpoints:write or mcp:* with PATs. This gives clear context and an implicit exclusion for non-agent endpoints, effectively guiding the agent on when this tool is appropriate.

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