Skip to main content
Glama

Reset a site key

reset-site-key
Destructive

Issues a new connection key for one of your sites and returns it. The site cannot send reports until the user pastes the new key into the WPCore plugin on the site. 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": {
      "site": "<site>"
    },
    "name": "reset-site-key"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe UUID of the site.

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 risk profile is known. The description adds substantive context beyond that: the old key stops working, the site cannot send reports until the user pastes the new key into the WPCore plugin, and the new key is returned in the response. It stops short of stating explicitly that the previous key is invalidated or whether the reset is reversible.

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?

Three short sentences with zero redundancy: behavior first, consequence second, safety instruction last. Each sentence contributes something an agent needs before calling.

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

Completeness5/5

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

For a destructive single-parameter tool with no output schema, the definition covers what happens, what breaks in the meantime, that a key is returned, and that user confirmation is required. Nothing essential for a correct invocation is missing.

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% and the single parameter (site UUID) is fully documented in the schema. The description only restates that the operation targets "one of your sites," adding no format, sourcing, or lookup guidance beyond the structured field.

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

Purpose4/5

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

States a specific verb and resource: "Issues a new connection key for one of your sites and returns it." The scoping phrase "for one of your sites" implicitly separates it from collection-level sibling tools, but no sibling is named explicitly, so differentiation is left partly to inference.

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 supplies a mandatory precondition ("Confirm with the user before you call this tool"), which is useful call-time guidance. However, it never says when a key reset is warranted versus other remediation options (e.g., refresh-site or reset-collection-key), so the when-to-use decision is only implied.

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