Skip to main content
Glama

Delete a client

client_delete
DestructiveIdempotent

Permanently remove a customer from the shop's customer file by their ID.

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": {
      "id": "<id>"
    },
    "name": "client_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the customer to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the description's "permanently" largely restates structured data. It adds no context on whether deletion fails when orders or other records reference the customer, whether it is a hard or soft delete, or what permissions are required — meaningful gaps for an irreversible mutation.

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?

A single front-loaded sentence with no filler; "Permanently" is the one qualifier that earns its place by flagging irreversibility before the agent commits.

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

Completeness3/5

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

For a one-parameter delete with full annotation coverage and no output schema, the definition covers the essentials. However, the consequence of removing a customer that may be referenced by orders, payments, or coupons is undisclosed, which is the main thing an agent cannot infer from structured fields 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?

With one parameter and 100% schema coverage, the schema already defines "ID of the customer to delete." The description's "by their ID" adds no format, type, or lookup guidance (the schema accepts either integer or string), so it merely echoes the structured field.

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?

"Permanently remove a customer from the shop's customer file by their ID" gives a specific verb (remove), resource (customer), and the keying parameter (ID), plus a permanence qualifier that separates it from client_edit and client_add. It stops short of naming the sibling it is not, so the differentiation is inferred rather than stated.

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?

The word "permanently" implies this should be a last resort versus client_edit, but the description never says when to prefer editing over deleting, nor what to do if the client has associated records. Usage is implied by the purpose only, with no explicit when-not conditions.

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