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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "result_id": "rf_abcdefghijklmnopqrst"
    },
    "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. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already supply the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds genuinely new behavior: the stored object is actually removed, and the response is a read-back confirmation of absence rather than a mere success ack. That resolves what destructiveHint=false leaves ambiguous here — the deleted artifact is a saved result, not source data. It still does not say whether deletion is undoable or what happens when result_id does not exist (idempotency implies a no-op, but that is inferred, not stated).

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?

Two sentences, zero filler, with the action and both modes front-loaded and the response-verification detail placed second. Every clause carries information an agent would otherwise have to guess.

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, no-output-schema destructive tool this is close to sufficient: it names the modes, the removal semantics, and the shape of the reply. Remaining gaps are edge cases — an unknown result_id, combining both parameters, and the exact form of the read-back reply — none of which block correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds the either/or relationship between result_id and all:true that the schema itself never encodes (no oneOf/anyOf), which is real added meaning. The 1000-per-call cap and remaining-count behavior live in the schema and are correctly not duplicated.

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?

"Delete a saved result (result_id) or all of them (all:true)" gives a specific verb, a specific resource, and the two operating modes in one sentence. It is unambiguously distinguishable from result_get and result_list, which are the other saved-result siblings.

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 description implies when to use it (you have a saved result you want gone) and shows how to select the single-item vs bulk mode via the parameter. It does not state prerequisites, whether either mode requires confirmation, whether the two parameters are mutually exclusive, or point to any alternative for recovering/listing results before deleting.

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.