Skip to main content
Glama

Privi Agent Survival & Premium

Deduplicate records

privi_dedupe_records
Read-only

Deduplicate a small JSON record list by canonical fingerprint.

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": {
      "records": "<records>"
    },
    "name": "privi_dedupe_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 safety is covered. The description contributes the deterministic basis ('canonical fingerprint') and a scale caveat ('small'), but leaves the crucial behavioral question unanswered: which record of a duplicate group is kept (first, last, or merged) and whether ordering is preserved.

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?

A single front-loaded sentence with no filler; the operative noun phrase is first. It is efficient, though the brevity trades away information the agent actually needs rather than trimming redundancy.

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 covering results, the description should say what comes back (deduplicated list, removed count, ordering) and how ties break. For a pure-function tool with an untyped parameter these omissions leave the agent guessing at the observable outcome.

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?

There is one required parameter at 0% schema description coverage: the array has no item-level typing at all. The description does not say what a record looks like, that fingerprinting is insensitive to key order or whitespace, or what fields are required, so it fails to compensate for the schema gap.

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?

A specific verb (dedupe) plus resource (a JSON record list) plus method (canonical fingerprint), so the purpose is unambiguous. It does not distinguish itself from nearby siblings like privi_json_canonical or privi_payload_hash, which an agent could plausibly pick instead.

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, no mention of what to do for lists that are not 'small', and no pointer to an alternative tool. The only contextual hint is the adjective 'small', which is never quantified.

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