Skip to main content
Glama

Result Delete

result_delete
Idempotent

Delete a saved result (result_id) or all of them (all:true). The stored object is removed and the reply says whether it was read back as gone, not just that the call succeeded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "result_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoDelete every saved result you have (up to 1000 per call; the reply says how many remain).
result_idNoThe result to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "result_id": "rf_abcdefghijklmnopqrst"
      -  },
      -  {
      -    "all": true
      -  }
      -]
  2. Added

TDQS

B3.3/5.0
Behavior2/5

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

The description adds genuinely useful behavior beyond the annotations: the reply reports whether the object was 'read back as gone' rather than merely returning success, which tells the agent how to verify the effect. But it states 'The stored object is removed', a destructive mutation, while annotations declare destructiveHint=false, which conflicts with the annotation's claim of additive-only behavior.

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 operation and its two modes, followed by the verification detail. Nearly every clause earns its place, though the 'not just that the call succeeded' phrasing is slightly verbose.

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 two-parameter, zero-required delete tool with annotations present and no output schema, the description covers both modes and the shape of the reply. It leaves out whether bulk deletion is reversible and whether permissions are required, which are meaningful gaps for a delete operation.

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%, so both parameters are already documented in the schema. The description restates the either/or usage of result_id and all:true but adds no syntax, precedence, or mutual-exclusivity detail beyond what the schema provides; baseline 3 applies.

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 a specific verb and resource ('Delete a saved result') and immediately disambiguates the two operating modes (single result_id vs all:true). It does not explicitly contrast with siblings such as result_get or result_list, but delete is self-evidently distinct from read/list operations.

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?

It tells the agent how to choose between the two modes ('result_id' or 'all:true'), which is useful selector guidance. However, it gives no when-not-to-use advice, no warning about the consequences of bulk deletion, and no statement about whether both parameters can be combined or which takes precedence.

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.