Skip to main content
Glama

List my pending deletions

list_deleted
Read-onlyIdempotent

Lists the saved models and runs you deleted that can still be restored, the one whose restore window closes soonest first. Use this when the user wants back something they deleted, to find its id for restore_deleted, or asks what can still be recovered. A deleted item can be restored for 30 days after it was deleted; after that it no longer appears here and is gone for good. It returns one entry per item with its kind (graph or run), its id, its name when it has one, when it was deleted and the time after which it can no longer be restored, plus next_offset when there are more to page through. Pass kind to list only graphs or only runs. When a saved model is deleted its runs go with it, and restoring the model brings them back. It needs a Neumann account: send your key, or your signed-in token, in the Authorization header as a Bearer credential. No Neumann tool takes an api_key argument. Example: {"limit":20,"offset":0} Cost: free -- it debits no credits and spends none of your free daily runs -- but it needs an account; an anonymous caller gets account_required.

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": "list_deleted"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOptional. graph to list only deleted models, run to list only deleted runs. Omit it for both.
limitNoHow many items to return, the one whose restore window closes soonest first.
offsetNoHow many items to skip, for paging. Use the next_offset the previous call returned.

Output Schema

NameRequiredDescriptionDefault
itemsYesOne entry per deleted item, the one whose restore window closes soonest first.
billingNoWho you are and what this call cost.
next_offsetNoThe offset to pass next to get the following page, or null when this was the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds real behavioral context beyond that: the 30-day restore window, cascade behavior (deleting a model takes its runs, restoring brings them back), the Bearer-token auth requirement, zero cost, and the account_required error for anonymous callers. That error/auth/free-cost detail is exactly what annotations cannot express.

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?

Purpose and sort order are front-loaded in the first sentence, and every later sentence carries operational value (window, cascade, auth, cost, example). It is dense and runs long for a single paragraph, but little of it is filler.

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?

Complete for a three-parameter read tool: trigger conditions, scope, ordering, auth, cost, failure mode, and a call example are all present. It even explains the return shape despite an output schema existing, which is slightly redundant but not harmful.

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 the schema already documents all three parameters including limit's sort order and offset's next_offset paging. The description restates kind filtering and next_offset without adding format or syntax beyond the structured fields, so the baseline 3 applies.

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, resource, and scope: deleted saved models and runs that are still restorable, ordered by soonest-expiring restore window. An agent can distinguish this from list_graphs/list_runs or the sibling restore_deleted without opening any 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?

Explicitly names the triggering situations (user wants something back, needs an id for restore_deleted, or asks what is recoverable) and gives the kind filter as a narrowing option. It also states the boundary condition: after 30 days the item no longer appears here at all.

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