Skip to main content
Glama

Delete value

kv_delete
Destructive

Delete a value. Call keys.create once. Pass caller_key on every later tools/call.

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": {
      "key": "<key>"
    },
    "name": "kv_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
caller_keyNopf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is covered structurally. The description adds useful auth context (create the pf_ key once, then reuse caller_key, with header key taking precedence). However, it says nothing about what exactly is destroyed, how a missing key is handled, or whether the delete is idempotent.

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?

Short and front-loaded: the operation comes first, then setup. The auth sentence partly duplicates the caller_key schema description, but the definition is not padded or hard to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema mutation with an undocumented required parameter, the definition omits the things an agent most needs: confirmation of what is removed, behavior on a nonexistent key, and any irreversibility or idempotency note. Only the auth flow is adequately covered.

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

Parameters2/5

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

Schema coverage is only 50%, and the one documented parameter (caller_key, including header precedence) is merely repeated in the description. The required key parameter, the one that determines what gets deleted, receives no explanation of format, existence requirements, or matching rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb and resource are stated ("Delete a value"), but the resource wording does not match the parameter, which is named key, so it is unclear whether the whole key or only its value is removed. Nothing distinguishes this from the near-duplicate kv.delete sibling or scopes what a "value" is.

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

Usage Guidelines2/5

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

The only guidance is a setup prerequisite: call keys.create once and pass caller_key on later tools/call. There is no statement of when to use this delete versus kv_set/kv_get, and no warning about when not to call it.

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