Skip to main content
Glama

Delete endpoint

delete_endpoint
DestructiveIdempotent

Deletes a sandbox endpoint and its captured requests, freeing an endpoint slot without refunding the sandbox's request budget.

Instructions

Delete one of this agent's sandbox endpoints and its captured requests. Frees a slot; the sandbox's request budget is not refunded.

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": {
      "slug": "<slug>"
    },
    "name": "delete_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe endpoint slug to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.20.4
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.19.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the lower bar applies, yet the description still adds real behavior: captured requests are deleted alongside the endpoint, a slot is freed, and the request budget is not refunded. The only gap is that it does not state whether deletion is reversible or what the response returns, which is minor against the annotation coverage.

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?

Two short sentences, front-loaded with the action and followed by the two consequences that matter (slot freed, budget not refunded). No filler; slightly clipped phrasing but every clause earns its place.

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?

For a one-parameter destructive tool with full annotations and no output schema, the description covers the cascade and the accounting side effects, which is what an agent needs before an irreversible call. Reversibility and return shape are the only unaddressed items, and neither is critical here.

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% and the single param 'slug' is fully documented in the schema, so the description adds no parameter meaning. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource ('Delete one of this agent's sandbox endpoints') and immediately names the cascade scope ('and its captured requests'), which distinguishes it from read siblings like get_endpoint and list_endpoints without any inference.

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?

Usage is implied by the destructive operation and the noted benefit (frees a slot), but there is no explicit when-to-use or when-not-to-use guidance, and no alternative is named for cases where the agent merely wants to stop capturing (e.g., an update or disable path). The agent must infer that this is the removal path from the sibling names alone.

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