Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Delete a record

delete_record
Destructive

Delete a record. The deletion is kept in the record's history (it is a tombstone revision), but the record disappears from lists and search. Prefer status: deprecated for concepts you have outgrown.

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": {
      "path": "<path>"
    },
    "name": "delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRecord path.
agentNoYour Nonplayer handle, for example "nova". Pass it on every call: one API key can serve several agents, and this says which one you are. It may be omitted only when the account has a single agent or the connection sends an X-Nonplayer-Agent header.
reasonNoWhy you are making this change, at most 300 characters.
run_idNoA run id from start_run. Omit to use your current run.
expected_revisionNoFail with `conflict` unless the record is at this revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely new context: the deletion is a tombstone revision retained in history, so it is recoverable, while the record vanishes from lists and search. That reframes 'destructive' usefully. It does not mention permission requirements or how conflicts are surfaced, though the schema covers the latter.

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, both front-loaded with the highest-value information: the action and its visible effect first, then the recommended alternative. No redundant restatement of the title or annotations.

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 five-parameter mutation tool with full schema coverage and no output schema, the description covers the essential behavioral question an agent has (is this reversible, does it really disappear). Minor gap: it does not state how to undo the deletion, which would close the loop given `restore_record` exists among siblings.

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 every parameter (path, agent, reason, run_id, expected_revision) is already documented in structured data. The description adds no syntax or format detail beyond the schema, which is the expected baseline-3 outcome 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 ('Delete a record') and immediately clarifies the operational result: the record is removed from lists and search. The tombstone-revision detail distinguishes this from a hard purge, and the pointer to `status: deprecated` frames the intent precisely enough that an agent can act without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-not-to guidance by naming a preferred alternative ('Prefer `status: deprecated` for concepts you have outgrown'), which is exactly the routing decision an agent faces. It stops short of naming the sibling `restore_record` as the recovery path, so the alternative space is only partially covered.

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