Skip to main content
Glama

rotate_prekeys

Forces a top-up of the server's one-time prekey pool by adding a batch of 50 keys, helping maintain available prekeys for encrypted messaging.

Instructions

Forces a top-up of the one-time prekey pool on the server (a batch of 50).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the mutation and safety profile is covered elsewhere. The description adds useful magnitude (a batch of 50) and that the operation is server-side, but leaves open whether each call appends 50 more keys, whether it replaces the pool, and what happens on failure.

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?

A single front-loaded sentence with the operation and its scope stated immediately, and the parenthetical adds the batch size without waste. Nothing is redundant.

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

Completeness3/5

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

For a zero-parameter mutation there is no output schema, so the description could tell an agent what comes back (the new keys, a count, or nothing) and whether the client must upload keys. Those gaps are modest but real given the tool mutates server state.

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

Parameters4/5

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

The tool takes zero parameters, so the description has nothing to disambiguate and the empty schema is self-explanatory. The parenthetical clarifies that the 50-key batch size is fixed and not configurable, which is a meaningful addition.

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?

The description pairs a specific verb ("Forces a top-up") with a specific resource ("one-time prekey pool on the server") and quantifies the effect (batch of 50). It is clear what the tool does, but it does not distinguish itself from any sibling (e.g., register or status, which in a prekey workflow might also touch key material).

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?

Usage is only implied: an agent can infer you call this when the prekey pool is depleted, but the description never states that condition, any prerequisite (e.g., having registered first), or when-not to call it. No alternative is named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.