Skip to main content
Glama

Reset a collection key

reset-collection-key
Destructive

Gives one of your collections a new collection key. The old key stops working in the WPCore plugin on every site that uses it. Confirm with the user before you call this tool.

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

Input Schema

NameRequiredDescriptionDefault
collectionYesThe UUID of the collection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, so the description's added value lies in the blast radius: the old key stops working in the WPCore plugin on every site using it. That is meaningful consequence detail beyond the annotations, though it doesn't say whether the operation is reversible or whether a new key is returned to relay to the user.

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?

Three short sentences with the action and consequence front-loaded and the confirmation requirement last, which is the right order for a destructive tool. Nothing is padded or redundant.

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?

Given a destructive, single-parameter tool with no output schema, the description covers action, impact, and required user confirmation. The one gap is the return value — with no output schema and no statement that the new key is returned, the agent cannot tell whether it must read back or display the regenerated key.

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% and the single 'collection' parameter is documented as a UUID in the schema itself. The description only restates it as 'one of your collections' and adds no format, selection, or validation detail, so 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 and resource ('gives one of your collections a new collection key') and adds scope ('on every site that uses it'), which distinguishes it from reset-site-key without needing the sibling schema.

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 gives a clear precondition — confirm with the user before calling — which is genuine routing guidance for a destructive action. It stops short of stating when a collection-key reset is the correct remedy versus resetting an individual site key, so the agent has context but no exclusions.

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