Skip to main content
Glama
vp2437
by vp2437

api_delete

Delete resources by sending a DELETE request to the desired REST API endpoint. Specify the URL, and optionally include query parameters, request body, custom headers, and environment settings.

Instructions

DELETE request to an API endpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAPI URL — absolute (https://host/path) or relative to the environment baseUrl (e.g. /users)
dataNoRequest body data
paramsNoQuery parameters
headersNoCustom headers (merged on top of config + auth headers)
maxCharsNoMax characters in the returned text (0 = unlimited; defaults to config.maxResponseChars).
environmentNoEnvironment name (defaults to the active environment)
includeHeadersNoInclude sanitized response headers in the result (default: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only restates that a DELETE request is made and does not disclose that this is likely a destructive operation, how responses are returned, whether authentication is required, or how errors are handled.

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 a single, front-loaded sentence with no filler. It efficiently states the method and target without redundancy, which is appropriate for the apparent simplicity of the tool.

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

Completeness2/5

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

The tool has seven parameters, no annotations, and no output schema, yet the description provides almost no behavioral context. It omits response format, auth expectations, destructive side effects, and typical usage context, leaving the agent to infer too much from the schema alone.

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 describes all seven parameters with clear explanations, so the description itself does not need to compensate for missing parameter information. With 100% schema description coverage, the baseline of 3 is appropriate; the description adds no extra param meaning but does not need to.

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 states the HTTP method (DELETE) and the target (API endpoint), which distinguishes it from sibling tools like api_get, api_post, api_put, and api_patch. However, it does not go beyond the method name to explain the tool's role or behavior, so it is clear but minimal.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool instead of the other HTTP method tools, nor any mention of prerequisites such as authentication, environment setup, or when DELETE is appropriate. The intended usage is only implied by the tool name and the description.

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