Skip to main content
Glama

Privi Agent Survival & Premium

Idempotency key

privi_idempotency_key
Read-only

Generate a stable non-secret key from a namespace and JSON payload.

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": {
      "namespace": "<namespace>",
      "value": "<value>"
    },
    "name": "privi_idempotency_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
namespaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds two genuinely useful behavioral traits beyond that: the key is deterministic ('stable') and contains no secret material, so it is safe to log or surface. It says nothing about how the key is computed or whether whitespace/key-order differences in the payload produce different keys.

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?

One front-loaded sentence with zero filler; every clause (stable, non-secret, namespace, JSON payload) carries meaning.

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?

With no output schema and no annotations describing the return value, the description should say what a caller gets back — key format, length, hashing algorithm, or at least that the same inputs always yield the same string. For a determinism-dependent utility like this, those omissions matter more than for a plain reader.

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 description coverage is 0%, so the description carries the full burden, and it only restates the parameter roles at a high level ('namespace' scopes, 'value' is a JSON payload). It never explains how the arbitrary JSON value is serialized before keying — key ordering, whitespace, or number formatting can all change the result, and that is the single most important semantic for a caller. It does imply the value accepts non-string JSON types, which the schema alone conveys only via the union type.

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 ('Generate a stable non-secret key') plus the inputs it derives from. The adjectives 'stable' and 'non-secret' do the work of distinguishing it from a random nonce or a hash of sensitive data, though it never names a sibling.

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?

There is no when-to-use guidance, no preconditions, and no mention of alternatives such as nonce generation or JSON canonicalization for cases where ordering affects the result. The agent must infer the usage context from the name alone.

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