Skip to main content
Glama

Remove a set

delete_set
DestructiveIdempotent

Use this when the person asks to remove a set they logged by mistake. Give its setId. Comes back with an Undo. Do not use to change a set's numbers; use edit_set.

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": {
      "setId": "<setId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "delete_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
setIdYesThe set's id, from get_today or get_session.
idempotencyKeyYesA new random id for this change (a UUID). Send the same one again only to retry this exact change.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / setId / description
      Added value: +"The set's id, from get_today or get_session."
  2. First observed

TDQS

A4.5/5.0
Behavior4/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 safety profile is covered structurally. The description adds behavior beyond that by disclosing that the call returns an Undo, telling the agent the deletion is recoverable — meaningful context for a destructive operation. It does not itself discuss retry/idempotency semantics, leaving that to the schema.

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?

Three short sentences: trigger, required parameter, and exclusion with alternative. The routing constraint is front-loaded with the usage condition, and no sentence is filler.

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?

The tool is a simple two-parameter destructive delete with a full output schema, so return values need not be spelled out — yet the description still volunteers the Undo outcome. Combined with the explicit alternative routing and the annotated destructive/idempotent hints, an agent has everything needed to call 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 both setId and idempotencyKey are documented in the schema, including the retry rule for the idempotency key. The description only restates 'Give its setId' and adds no format or sourcing detail beyond the schema's 'from get_today or get_session'. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('remove a set') and scopes it to sets the person logged by mistake, naming the sibling that handles the adjacent case ('use edit_set'). An agent can distinguish this from edit_set without opening either schema.

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?

Gives an explicit when-to-use condition ('the person asks to remove a set they logged by mistake') and an explicit when-not with the correct alternative ('Do not use to change a set's numbers; use edit_set'). Nothing is left to inference about routing.

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.