Skip to main content
Glama

Privi Agent Survival & Premium

Event deduplication audit

privi_pro_duplicate_events
Read-only

Count duplicate event IDs across a bounded input window. PAID ONLY: 5 prepaid credits; production billing required.

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": {
      "ids": "<ids>"
    },
    "name": "privi_pro_duplicate_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 genuinely useful non-annotation context: the operation costs 5 prepaid credits and requires production billing, which an agent should surface before calling. It does not describe the result shape (a count versus a list of duplicate IDs) or any input-size limits.

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?

Two short sentences, front-loaded with the core operation and followed by the cost notice. No filler or repetition, though the billing clause could be tightened.

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?

The tool is simple (one array parameter), and annotations cover its read-only nature, but there is no output schema and the description never says what 'count' returns or how duplicates are reported. Combined with the unexplained 'bounded input window' phrasing for an undocumented array parameter, the definition leaves gaps an agent would have to guess at.

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?

The single parameter 'ids' has zero schema description coverage, so the description must carry the load; it does clarify that the elements are event IDs being checked for duplication. However, it adds nothing about element format, array size limits, or what the 'bounded input window' constraint means operationally. With only one parameter and partial compensation, a 3 is the fair middle.

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 gives a specific verb and resource ('Count duplicate event IDs') plus a scope ('across a bounded input window'), which is enough for an agent to know it audits duplication rather than ordering or replay windows. It stops short of naming the nearest siblings such as nonce_replay_window or event_order_integrity, so differentiation is inferred rather than stated.

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 or when-not-to-use guidance and no named alternative among the many auditing siblings. The only conditional content is the billing notice ('PAID ONLY: 5 prepaid credits'), which tells the agent about cost, not about tool selection.

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